summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2002-11-20 14:37:19 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2002-11-20 14:37:19 +0000
commitdcae291f236b5055010a64825e59ecbd9bc26d60 (patch)
treea31f4f8d9f226753761591fbce8880d715df6806 /lisp/help-fns.el
parent6f0d61bf2ca7bf9d535bd4b2ac062c3dde965574 (diff)
downloademacs-dcae291f236b5055010a64825e59ecbd9bc26d60.tar.gz
(describe-variable): Look for (defvar . <sym>) in the
load-history since `defvar' now uses this format.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 245bbd0e8d0..46a72b32ba2 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -482,7 +482,7 @@ it is displayed along with the global value."
;; Make a hyperlink to the library if appropriate. (Don't
;; change the format of the buffer's initial line in case
;; anything expects the current format.)
- (let ((file-name (symbol-file variable)))
+ (let ((file-name (symbol-file (cons 'defvar variable))))
(when (equal file-name "loaddefs.el")
;; Find the real def site of the preloaded variable.
(let ((location