# HG changeset patch # User Glenn Morris # Date 1252982147 0 # Node ID e0d5fc8f73872d889f0ebb8c7e515fe2eab4e4eb # Parent af84e9739140e2164fae9d4435975b00cdb848d9 (find-lisp-object-file-name): When looking for autoloaded variables, also consider the .elc files, since the .el files are normally gzipped (subsequent code locates the .el.gz from the .elc). diff -r af84e9739140 -r e0d5fc8f7387 lisp/help-fns.el --- a/lisp/help-fns.el Tue Sep 15 02:35:22 2009 +0000 +++ b/lisp/help-fns.el Tue Sep 15 02:35:47 2009 +0000 @@ -267,8 +267,9 @@ "^;;; Generated autoloads from \\(.*\\)" nil t) (setq file-name (locate-file - (match-string-no-properties 1) - load-path nil 'readable)))))))) + (file-name-sans-extension + (match-string-no-properties 1)) + load-path '(".el" ".elc") 'readable)))))))) (cond ((and (not file-name) (subrp type))