* lisp/help-fns.el (find-lisp-object-file-name): Fix bug#62376 part2
Nowadays `loaddefs.el` are byte-compiled, so adjust pattern accordingly
This commit is contained in:
parent
be8147c53f
commit
d93a439846
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ the C sources, too."
|
||||||
(setq file-name
|
(setq file-name
|
||||||
(locate-file file-name load-path '(".el" ".elc") 'readable)))
|
(locate-file file-name load-path '(".el" ".elc") 'readable)))
|
||||||
((and (stringp file-name)
|
((and (stringp file-name)
|
||||||
(string-match "[.]*loaddefs.el\\'" file-name))
|
(string-match "[.]*loaddefs.elc?\\'" file-name))
|
||||||
;; An autoloaded variable or face. Visit loaddefs.el in a buffer
|
;; An autoloaded variable or face. Visit loaddefs.el in a buffer
|
||||||
;; and try to extract the defining file. The following form is
|
;; and try to extract the defining file. The following form is
|
||||||
;; from `describe-function-1' and `describe-variable'.
|
;; from `describe-function-1' and `describe-variable'.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue