]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/help-fns.el (describe-symbol): `nil' is not an interesting default.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 6 Apr 2017 13:55:05 +0000 (09:55 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 6 Apr 2017 13:55:05 +0000 (09:55 -0400)
lisp/help-fns.el

index 69a6113eda1513dbf0ae564f5aaf2b03bf920f17..5459ddf4a392b799dac5d3113e0f987e39418dcf 100644 (file)
@@ -1096,8 +1096,8 @@ frame to show the information about SYMBOL; they default to the
 current buffer and the selected frame, respectively."
   (interactive
    (let* ((v-or-f (symbol-at-point))
-          (found (cl-some (lambda (x) (funcall (nth 1 x) v-or-f))
-                          describe-symbol-backends))
+          (found (if v-or-f (cl-some (lambda (x) (funcall (nth 1 x) v-or-f))
+                                     describe-symbol-backends)))
           (v-or-f (if found v-or-f (function-called-at-point)))
           (found (or found v-or-f))
           (enable-recursive-minibuffers t)