summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/help-fns.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index c8f078cb852..5a805a23028 100644
--- 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 "")