Skip to content

Commit e3eea9a

Browse files
committed
* lisp/help-fns.el (describe-symbol): `nil' is not an interesting default.
1 parent f23c82d commit e3eea9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lisp/help-fns.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,8 +1096,8 @@ frame to show the information about SYMBOL; they default to the
10961096
current buffer and the selected frame, respectively."
10971097
(interactive
10981098
(let* ((v-or-f (symbol-at-point))
1099-
(found (cl-some (lambda (x) (funcall (nth 1 x) v-or-f))
1100-
describe-symbol-backends))
1099+
(found (if v-or-f (cl-some (lambda (x) (funcall (nth 1 x) v-or-f))
1100+
describe-symbol-backends)))
11011101
(v-or-f (if found v-or-f (function-called-at-point)))
11021102
(found (or found v-or-f))
11031103
(enable-recursive-minibuffers t)

0 commit comments

Comments
 (0)