[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 9192f5d: Make 's' in *Help* work for Lisp-defined variables again
From: |
Lars Ingebrigtsen |
Subject: |
master 9192f5d: Make 's' in *Help* work for Lisp-defined variables again |
Date: |
Sat, 24 Jul 2021 07:46:09 -0400 (EDT) |
branch: master
commit 9192f5d25b26788d74b5ba2eb18f244e03669686
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Make 's' in *Help* work for Lisp-defined variables again
* lisp/help-fns.el (describe-variable): Make the `s' command work
for Lisp-defined variables again (bug#39121).
---
lisp/help-fns.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 76417746..d7fb038 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -1078,7 +1078,9 @@ it is displayed along with the global value."
(with-current-buffer standard-output
(setq help-mode--current-data
(list :symbol variable
- :type 'variable
+ :type (if (eq file-name 'C-source)
+ 'variable
+ 'defvar)
:file file-name))
(save-excursion
(re-search-backward (substitute-command-keys
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 9192f5d: Make 's' in *Help* work for Lisp-defined variables again,
Lars Ingebrigtsen <=