From abfd00e5c02ec0aed8bbac1eca0d0db1874f020a Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 13 Feb 2023 11:56:02 +0100 Subject: [PATCH] * lisp/emacs-lisp/comp.el (native-comp-never-optimize-functions): Improve doc --- lisp/emacs-lisp/comp.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index eeee66b3d1b..5077ca0aa1f 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -105,7 +105,12 @@ during bootstrap." ;; correctly (see comment in `advice--add-function'). DO NOT ;; REMOVE. macroexpand rename-buffer) - "Primitive functions to exclude from trampoline optimization." + "Primitive functions to exclude from trampoline optimization. + +Primitive functions included in this list will not be called +directly by the native code being compiled, this makes +tranpolines for those primitives not necessary in case of +function redefinition/advise." :type '(repeat symbol) :version "28.1") -- 2.39.2