Fix *Help* output for native-comp functions from IELM
* lisp/help-fns.el (find-lisp-object-file-name): Don't claim that native-comp functions that are defined outside of files (for instance, created by calling `native-compile' in IELM) are in C source (bug#57819).
This commit is contained in:
parent
17ef280672
commit
e3fa41ac92
1 changed files with 3 additions and 1 deletions
|
@ -457,7 +457,9 @@ the C sources, too."
|
|||
load-path '(".el" ".elc") 'readable))))))))
|
||||
|
||||
(cond
|
||||
((and (not file-name) (subrp type))
|
||||
((and (not file-name)
|
||||
(subrp type)
|
||||
(not (subr-native-elisp-p type)))
|
||||
;; A built-in function. The form is from `describe-function-1'.
|
||||
(if (or (get-buffer " *DOC*")
|
||||
(and also-c-source
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue