[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e3eea9a: * lisp/help-fns.el (describe-symbol): `nil
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master e3eea9a: * lisp/help-fns.el (describe-symbol): `nil' is not an interesting default. |
Date: |
Thu, 6 Apr 2017 09:55:10 -0400 (EDT) |
branch: master
commit e3eea9a4b449c87a3bb022098a9e6f1bda805cb3
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* 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 69a6113..5459ddf 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master e3eea9a: * lisp/help-fns.el (describe-symbol): `nil' is not an interesting default.,
Stefan Monnier <=