summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-09-03 10:33:02 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2022-09-03 10:33:02 -0400
commit996f8d85d7dd5a43b1e97c0d763baa67fd6122b0 (patch)
treea05e66e91288c4461328b7af5e2248add0b2bec3 /lisp/help-fns.el
parent88b895ee56693b460e2b04f681f138da36635c4d (diff)
downloademacs-996f8d85d7dd5a43b1e97c0d763baa67fd6122b0.tar.gz
* lisp/help-fns.el (find-lisp-object-file-name): Revert last change
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 88e553c1a05..bb5b3bb71ff 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