Variable: native-comp-never-optimize-functions
native-comp-never-optimize-functions is a customizable variable
defined in comp.el.gz.
Value
(macroexpand
rename-buffer)
Documentation
Primitive functions to exclude from trampoline optimization.
Primitive functions included in this list will not be called directly by the natively-compiled code, which makes trampolines for those primitives unnecessary in case of function redefinition/advice.
This variable was added, or its default value changed, in Emacs 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
(defcustom native-comp-never-optimize-functions
'(;; The following two are mandatory for Emacs to be working
;; correctly (see comment in `advice--add-function'). DO NOT
;; REMOVE.
macroexpand rename-buffer)
"Primitive functions to exclude from trampoline optimization.
Primitive functions included in this list will not be called
directly by the natively-compiled code, which makes trampolines for
those primitives unnecessary in case of function redefinition/advice."
:type '(repeat symbol)
:version "28.1")