mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
* 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
@ -437,7 +437,7 @@ the C sources, too."
|
||||
(setq file-name
|
||||
(locate-file file-name load-path '(".el" ".elc") 'readable)))
|
||||
((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
|
||||
;; and try to extract the defining file. The following form is
|
||||
;; from `describe-function-1' and `describe-variable'.
|
||||
|
Loading…
Reference in New Issue
Block a user