]> git.eshelyaron.com Git - emacs.git/commit
Teach 'symbol-file' about .eln natively-compiled files
authorEli Zaretskii <eliz@gnu.org>
Wed, 3 Aug 2022 14:16:09 +0000 (17:16 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 3 Aug 2022 14:16:09 +0000 (17:16 +0300)
commitec22e923c0dab286cdcf18595e836f1013e9a9f1
treec87fbfbfef3076b90c9c1386d7473702f1823b8c
parent6861ed117592bf45eeb0e21f17f756d58e407313
Teach 'symbol-file' about .eln natively-compiled files

* lisp/subr.el (locate-eln-file): New function.
(symbol-file): Accept an optional 3rd argument NATIVE-P, and, if
non-nil, try to locate and report the .eln file where SYMBOL was
defined.

* etc/NEWS:
* doc/lispref/loading.texi (Where Defined): Document the new
optional argument of 'symbol-file'.
doc/lispref/loading.texi
etc/NEWS
lisp/subr.el