]> git.eshelyaron.com Git - emacs.git/commit
Inline side-effect-free declarations in cl-lib.el
authorStefan Kangas <stefankangas@gmail.com>
Thu, 13 Feb 2025 03:24:05 +0000 (04:24 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 14 Feb 2025 11:44:01 +0000 (12:44 +0100)
commit00dc73e48798b4e0bf1c64b57b9d2c4e0281093e
treeb5b5bdfaf4c969ce6cfd30a0bd95404fa3c03b19
parent45969b9295d536206eac05d67a9b9f4b95ef6cf5
Inline side-effect-free declarations in cl-lib.el

* lisp/emacs-lisp/cl-macs.el: Move side-effect-free declarations from
here...
* lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-isqrt, cl-floor)
(cl-ceiling, cl-truncate, cl-round, cl-mod, cl-rem, cl-signum)
(cl-subseq, cl-list-length, cl-get, cl-getf):
* lisp/emacs-lisp/cl-lib.el (cl-plusp, cl-minusp, cl-oddp, cl-evenp)
(cl-fifth, cl-sixth, cl-seventh, cl-eighth, cl-ninth, cl-tenth)
(cl-ldiff, cl-pairlis):
* lisp/emacs-lisp/cl-seq.el (cl-endp): ...to have them inline here.

* lisp/emacs-lisp/cl-macs.el: Move side-effect-and-error-free
declarations from here...
* lisp/emacs-lisp/cl-extra.el (cl-equalp, cl-random-state-p):
* lisp/emacs-lisp/cl-lib.el (cl-list*, cl-acons): ...to have them inline
here.  (Bug#76247)

(cherry picked from commit 7d9e67be13f72b7c7c8815f651c8fa5f74a79c54)
lisp/emacs-lisp/cl-extra.el
lisp/emacs-lisp/cl-lib.el
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/cl-seq.el