]> git.eshelyaron.com Git - emacs.git/commit
Adjust side-effect-free declarations
authorMattias Engdegård <mattiase@acm.org>
Sun, 9 Apr 2023 11:54:17 +0000 (13:54 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 9 Apr 2023 14:45:40 +0000 (16:45 +0200)
commit48ff93ba18c8fae6c2904d40906cd0e13158b688
treede98ac7a849aabf422c91ceebcd927c04ae59d15
parentc9e13048bb9b1b5fb156fb128b32030ae2f1003b
Adjust side-effect-free declarations

* lisp/emacs-lisp/byte-opt.el (side-effect-and-error-free-fns):
Add `eql` here.
* lisp/emacs-lisp/cl-macs.el (eql, cl-subst, cl-sublis):
Don't set the `side-effect-free` property here.
`cl-subst` and `cl-sublis` are not side-effect-free.
* lisp/emacs-lisp/cl-extra.el (cl-revappend):
Declare side-effect-free.
* lisp/emacs-lisp/cl-lib.el (cl-copy-list):
Declare side-effect-free and error-free.
lisp/emacs-lisp/byte-opt.el
lisp/emacs-lisp/cl-extra.el
lisp/emacs-lisp/cl-lib.el
lisp/emacs-lisp/cl-macs.el