org-element-cache-map: Check if `native-comp-available-p' is defined
Fixes https://list.orgmode.org/87tugzinxz.fsf@gmail.com/T/#u
This commit is contained in:
parent
9f87b1cc33
commit
49e2f6c1ab
|
@ -7131,6 +7131,7 @@ of FUNC. Changes to elements made in FUNC will also alter the cache."
|
|||
(and (symbolp func)
|
||||
(subrp (symbol-function func)))
|
||||
(and (symbolp func)
|
||||
(fboundp 'native-comp-available-p)
|
||||
(native-comp-available-p)
|
||||
(fboundp 'subr-native-elisp-p)
|
||||
(subr-native-elisp-p (symbol-function func)))
|
||||
|
|
Loading…
Reference in New Issue