changeset 48477:2107f1adf452

(describe-variable): Look for (defvar . <sym>) in the load-history since `defvar' now uses this format.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 20 Nov 2002 14:37:19 +0000
parents 29e63846608d
children a94c995f94de
files lisp/help-fns.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-fns.el	Wed Nov 20 14:35:54 2002 +0000
+++ b/lisp/help-fns.el	Wed Nov 20 14:37:19 2002 +0000
@@ -482,7 +482,7 @@
 	    ;; 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