Commit e3eea9a4 authored by Stefan Monnier's avatar Stefan Monnier

* lisp/help-fns.el (describe-symbol): `nil' is not an interesting default.

parent f23c82d1
......@@ -1096,8 +1096,8 @@ frame to show the information about SYMBOL; they default to the
current buffer and the selected frame, respectively."
(let* ((v-or-f (symbol-at-point))
(found (cl-some (lambda (x) (funcall (nth 1 x) v-or-f))
(found (if v-or-f (cl-some (lambda (x) (funcall (nth 1 x) v-or-f))
(v-or-f (if found v-or-f (function-called-at-point)))
(found (or found v-or-f))
(enable-recursive-minibuffers t)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment