From a6d736d532e20b6763a7ff1995f952fc293886dd Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Fri, 7 Oct 2022 12:28:51 +0000 Subject: [PATCH] * Add `yes-or-no-p' to `native-comp-never-optimize-functions'. * lisp/emacs-lisp/comp.el (native-comp-never-optimize-functions): Add `yes-or-no-p'. --- lisp/emacs-lisp/comp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 5ee10fcbca2..2812e53bcc2 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -104,7 +104,7 @@ 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) + macroexpand rename-buffer yes-or-no-p) "Primitive functions to exclude from trampoline optimization." :type '(repeat symbol) :version "28.1") -- 2.35.1.577.g74cc1aa55f