From: Stefan Monnier Date: Thu, 6 Apr 2017 13:55:05 +0000 (-0400) Subject: * lisp/help-fns.el (describe-symbol): `nil' is not an interesting default. X-Git-Tag: emacs-26.0.90~521^2~705 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e3eea9a4b449c87a3bb022098a9e6f1bda805cb3;p=emacs.git * lisp/help-fns.el (describe-symbol): `nil' is not an interesting default. --- diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 69a6113eda1..5459ddf4a39 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -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)