projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77f67d1
)
Use buffer-local-boundp in describe-variable
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 31 May 2021 05:22:12 +0000
(07:22 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 31 May 2021 05:22:12 +0000
(07:22 +0200)
* lisp/help-fns.el (describe-variable): Use `buffer-local-boundp'.
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index c8f078cb852880ae6fdd4e3b455f7babc4988dee..5a805a23028679a275131daf83c8d38d42551cde 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-1029,10
+1029,7
@@
it is displayed along with the global value."
;; Since the variable may only exist in the
;; original buffer, we have to look for it
;; there.
- (condition-case nil
- (buffer-local-value vv orig-buffer)
- (:success t)
- (void-variable nil)))))
+ (buffer-local-boundp vv orig-buffer))))
t nil nil
(if (symbolp v) (symbol-name v))))
(list (if (equal val "")