emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 996f8d85d7: * lisp/help-fns.el (find-lisp-object-file-name): Reve


From: Stefan Monnier
Subject: master 996f8d85d7: * lisp/help-fns.el (find-lisp-object-file-name): Revert last change
Date: Sat, 3 Sep 2022 10:33:10 -0400 (EDT)

branch: master
commit 996f8d85d7dd5a43b1e97c0d763baa67fd6122b0
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/help-fns.el (find-lisp-object-file-name): Revert last change
---
 lisp/help-fns.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 88e553c1a0..bb5b3bb71f 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -424,7 +424,7 @@ If ALSO-C-SOURCE is non-nil, instead of returning 
`C-source',
 this function will attempt to locate the definition of OBJECT in
 the C sources, too."
   (let* ((autoloaded (autoloadp type))
-        (file-name (or (and autoloaded (autoload-file type))
+        (file-name (or (and autoloaded (nth 1 type))
                        (symbol-file
                          ;; FIXME: Why do we have this weird "If TYPE is the
                          ;; value returned by `symbol-function' for a function



reply via email to

[Prev in Thread] Current Thread [Next in Thread]