emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [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/)]
@ 2021-10-29 20:13 No Wayman
  2021-10-30  2:11 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: No Wayman @ 2021-10-29 20:13 UTC (permalink / raw)
  To: emacs-orgmode


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)))


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [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/)]
  2021-10-29 20:13 [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/)] No Wayman
@ 2021-10-30  2:11 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2021-10-30  2:11 UTC (permalink / raw)
  To: No Wayman; +Cc: emacs-orgmode

No Wayman <iarchivedmywholelife@gmail.com> writes:

> 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.

Oops. Thanks for noticing. I genuinely thought that I had this check
there. Fixed on main.

Best,
Ihor


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-30  2:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 20:13 [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/)] No Wayman
2021-10-30  2:11 ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).