From e3eea9a4b449c87a3bb022098a9e6f1bda805cb3 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 6 Apr 2017 09:55:05 -0400 Subject: [PATCH] * lisp/help-fns.el (describe-symbol): `nil' is not an interesting default. --- lisp/help-fns.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2