emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] org-element-cache-map calls native-comp-available-p without checki


From: No Wayman
Subject: [BUG] org-element-cache-map calls native-comp-available-p without checking if it is bound first [9.5 (9.5-gf5faff @ /home/n/.emacs.d/straight/build/org/)]
Date: Fri, 29 Oct 2021 16:13:57 -0400
User-agent: mu4e 1.7.0; emacs 29.0.50


See: https://www.reddit.com/r/emacs/comments/qil2qh/symbols_function_definition_is_void/


For context:

(and (symbolp func)
    (native-comp-available-p)
    (fboundp 'subr-native-elisp-p)

The check could be wrapped in a function to prevent this in the future. e.g.

(defun org-native-comp-available-p ()
(and (fboundp 'native-comp-available-p) (native-comp-available-p)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]