diff options
| author | Stefan Monnier | 2023-03-23 13:43:45 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2023-03-23 13:43:45 -0400 |
| commit | d93a439846f03dfb2be28d6b5c2e963ef6be0c22 (patch) | |
| tree | e6bd40f0e1c0edf6edfb60566216d7364f2cae6c | |
| parent | be8147c53f9dd2d896c27d5b32bf4f38b0af9b3f (diff) | |
| download | emacs-d93a439846f03dfb2be28d6b5c2e963ef6be0c22.tar.gz emacs-d93a439846f03dfb2be28d6b5c2e963ef6be0c22.zip | |
* lisp/help-fns.el (find-lisp-object-file-name): Fix bug#62376 part2
Nowadays `loaddefs.el` are byte-compiled, so adjust pattern accordingly
| -rw-r--r-- | lisp/help-fns.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index a81051cee03..a1fc2267564 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -437,7 +437,7 @@ the C sources, too." | |||
| 437 | (setq file-name | 437 | (setq file-name |
| 438 | (locate-file file-name load-path '(".el" ".elc") 'readable))) | 438 | (locate-file file-name load-path '(".el" ".elc") 'readable))) |
| 439 | ((and (stringp file-name) | 439 | ((and (stringp file-name) |
| 440 | (string-match "[.]*loaddefs.el\\'" file-name)) | 440 | (string-match "[.]*loaddefs.elc?\\'" file-name)) |
| 441 | ;; An autoloaded variable or face. Visit loaddefs.el in a buffer | 441 | ;; An autoloaded variable or face. Visit loaddefs.el in a buffer |
| 442 | ;; and try to extract the defining file. The following form is | 442 | ;; and try to extract the defining file. The following form is |
| 443 | ;; from `describe-function-1' and `describe-variable'. | 443 | ;; from `describe-function-1' and `describe-variable'. |