1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

2005-11-10 Alan Mackenzie <acm@muc.de>

* help-fns.el (describe-variable): Make C-h v work when a variable
	has variable documentation yet is unbound.
This commit is contained in:
Alan Mackenzie 2005-11-10 08:07:23 +00:00
parent af8308ec80
commit f192689e61
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-11-10 Alan Mackenzie <acm@muc.de>
* help-fns.el (describe-variable): Make C-h v work when a variable
has variable documentation yet is unbound.
2005-11-10 Masatake YAMATO <jet@gyve.org>
* man.el (Man-highlight-references): Set an empty

View file

@ -496,7 +496,11 @@ it is displayed along with the global value."
(format
"Describe variable (default %s): " v)
"Describe variable: ")
obarray 'boundp t nil nil
obarray
'(lambda (vv)
(or (boundp vv)
(get vv 'variable-documentation)))
t nil nil
(if (symbolp v) (symbol-name v))))
(list (if (equal val "")
v (intern val)))))