]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/help-fns.el (find-lisp-object-file-name): Revert last change
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 3 Sep 2022 14:33:02 +0000 (10:33 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 3 Sep 2022 14:33:02 +0000 (10:33 -0400)
lisp/help-fns.el

index 88e553c1a059baee83ea88201b858a540f4a912c..bb5b3bb71ff54ac53d7b8a3e9fb8597c467a046e 100644 (file)
@@ -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