diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2025-02-17 21:58:53 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2025-02-17 22:46:56 +0100 |
commit | afbf932106fdd1043b0debe9fc9134e031e4c9a6 (patch) | |
tree | 2bbd79a4e77be4e02dbf2c37d223896f16236762 /lisp/emacs-lisp/ert.el | |
parent | 1d27028df803e4dc1c063db5593222311838e051 (diff) | |
download | emacs-afbf932106fdd1043b0debe9fc9134e031e4c9a6.tar.gz emacs-afbf932106fdd1043b0debe9fc9134e031e4c9a6.tar.bz2 emacs-afbf932106fdd1043b0debe9fc9134e031e4c9a6.zip |
New functions plusp and minusp
* lisp/emacs-lisp/cl-lib.el (cl-plusp, cl-minusp): Move from here...
* lisp/subr.el (plusp, minusp): ...to here. Make old names into
aliases, documented as deprecated. Add type declarations. Change from
defsubst to regular functions with compiler macros.
* lisp/obsolete/cl.el: Don't alias plusp and minusp.
* test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-test-plusp)
(cl-lib-test-minusp): Move tests from here...
* test/lisp/subr-tests.el (subr-test-plusp, subr-test-minusp):
...to here.
* doc/lispref/numbers.texi (Predicates on Numbers): Document plusp
and minusp.
* doc/misc/cl.texi (Predicates on Numbers): Delete cl-plusp and
cl-minusp.
* lisp/emacs-lisp/shortdoc.el (number): Document plusp and minusp
instead of cl-plusp and cl-minusp.
Diffstat (limited to 'lisp/emacs-lisp/ert.el')
0 files changed, 0 insertions, 0 deletions