]> git.eshelyaron.com Git - emacs.git/commitdiff
Declare `indirect-function` to be side-effect-free and error-free
authorMattias Engdegård <mattiase@acm.org>
Wed, 22 Feb 2023 13:13:07 +0000 (14:13 +0100)
committerMattias Engdegård <mattiase@acm.org>
Wed, 22 Feb 2023 16:46:03 +0000 (17:46 +0100)
* 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

index a9630b6f7c26e4cf9a923cabab964f1704c802e1..456ec06a141b6771502635f1f695e6d736ac7a1f 100644 (file)
@@ -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