mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(symbol-file): Fix C-h v pcase where cl-struct lacks file info
* lisp/subr.el (symbol-file): Return an actual (and absolute) file name for the autoload case, as is done for other cases.
This commit is contained in:
parent
e807d62cdd
commit
0886ef01a8
1 changed files with 2 additions and 1 deletions
|
|
@ -3067,7 +3067,8 @@ instead."
|
|||
(if (and (or (null type) (eq type 'defun))
|
||||
(symbolp symbol)
|
||||
(autoloadp (symbol-function symbol)))
|
||||
(nth 1 (symbol-function symbol))
|
||||
(locate-library
|
||||
(nth 1 (symbol-function symbol)))
|
||||
(if (and native-p (or (null type) (eq type 'defun))
|
||||
(symbolp symbol)
|
||||
(native-comp-available-p)
|
||||
|
|
|
|||
Loading…
Reference in a new issue