mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Use buffer-local-boundp in describe-variable
* lisp/help-fns.el (describe-variable): Use `buffer-local-boundp'.
This commit is contained in:
parent
77f67d12f6
commit
415ae812e9
1 changed files with 1 additions and 4 deletions
|
|
@ -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 "")
|
||||
|
|
|
|||
Loading…
Reference in a new issue