From: Stefan Monnier Date: Wed, 20 Nov 2002 14:37:19 +0000 (+0000) Subject: (describe-variable): Look for (defvar . ) in the X-Git-Tag: ttn-vms-21-2-B4~12322 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dcae291f236b5055010a64825e59ecbd9bc26d60;p=emacs.git (describe-variable): Look for (defvar . ) in the load-history since `defvar' now uses this format. --- 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