1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
emacs/doc
Stefan Kangas 667d011410 New functions oddp and evenp
* lisp/emacs-lisp/cl-lib.el (cl-oddp, cl-evenp): Move from here...
* lisp/subr.el (oddp, evenp): ...to here.  Make old names into
aliases, documented as deprecated.  Add type declarations.
* lisp/obsolete/cl.el: Don't alias oddp and evenp.

* test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-test-oddp)
(cl-lib-test-evenp): Move tests from here...
* test/lisp/subr-tests.el (subr-test-oddp, subr-test-evenp): ...to here.
* lisp/emacs-lisp/shortdoc.el (number): Add oddp and evenp.
(map): Prefer oddp and evenp to cl-oddp and cl-evenp.

* doc/lispref/numbers.texi (Predicates on Numbers): Document above new
functions oddp and evenp.
* doc/misc/cl.texi (Predicates on Numbers): Delete cl-oddp and cl-evenp.
(Other Clauses): Prefer oddp to cl-oddp.
2025-02-17 05:37:10 +01:00
..
emacs Merge from savannah/emacs-30 2025-02-17 11:36:14 +08:00
lispintro Merge from origin/emacs-30 2025-01-25 10:06:19 -05:00
lispref New functions oddp and evenp 2025-02-17 05:37:10 +01:00
man Update copyright year to 2025 2025-01-02 18:39:42 +01:00
misc New functions oddp and evenp 2025-02-17 05:37:10 +01:00
translations Update copyright year to 2025 2025-01-02 18:39:42 +01:00