]> git.eshelyaron.com Git - emacs.git/commitdiff
(describe-variable): Look for (defvar . <sym>) in the
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 20 Nov 2002 14:37:19 +0000 (14:37 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 20 Nov 2002 14:37:19 +0000 (14:37 +0000)
load-history since `defvar' now uses this format.

lisp/help-fns.el

index 245bbd0e8d01dcd6cd5ea9c505efdedaac54e0c8..46a72b32ba20a71b472986ba559edd249a92e2c4 100644 (file)
@@ -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