From 170b419df0db761de4120e7e86d80bc430249015 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Wed, 22 Feb 2023 14:13:07 +0100 Subject: [PATCH] Declare `indirect-function` to be side-effect-free and error-free * lisp/emacs-lisp/byte-opt.el (side-effect-and-error-free-fns): Add `indirect-function` which is now error-free. --- lisp/emacs-lisp/byte-opt.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index a9630b6f7c2..456ec06a141 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el @@ -1711,7 +1711,7 @@ See Info node `(elisp) Integer Basics'." eobp eolp eq equal floatp following-char framep hash-table-p - identity integerp integer-or-marker-p + identity indirect-function integerp integer-or-marker-p invocation-directory invocation-name keymapp keywordp list listp -- 2.39.2