emacs/lisp/emacs-lisp
Stefan Kangas afbf932106 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.
2025-02-17 22:46:56 +01:00
..
advice.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
avl-tree.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
backquote.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
backtrace.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
benchmark.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bindat.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
byte-opt.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
byte-run.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
bytecomp.el Prefer '(evenp A)' to '(= 0 (logand A 1))' 2025-02-17 19:30:44 +01:00
cconv.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
chart.el Prefer '(oddp A)' to '(= 1 (% A 2))' 2025-02-17 05:37:10 +01:00
check-declare.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
checkdoc.el Prefer '(evenp A)' to '(= 0 (% A 2))' 2025-02-17 05:37:10 +01:00
cl-extra.el Prefer '(oddp A)' to '(= 1 (% A 2))' 2025-02-17 05:37:10 +01:00
cl-generic.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
cl-indent.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cl-lib.el New functions plusp and minusp 2025-02-17 22:46:56 +01:00
cl-macs.el Fix compilation errors due to insufficient compiler safety (bug#63288) 2025-02-17 19:03:14 +00:00
cl-preloaded.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
cl-print.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
cl-seq.el Inline important-return-value declarations in cl-lib.el 2025-02-14 22:46:07 +01:00
comp-common.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
comp-cstr.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
comp-run.el ; Remove duplicate defvar in comp-run.el. 2025-01-29 18:13:41 +01:00
comp.el Use #$ for lambda fixups in native compilation data vectors 2025-02-01 17:02:50 +00:00
compat.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cond-star.el Add autoload cookie and doc fix 2025-01-08 08:26:40 -05:00
copyright.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
crm.el completing-read-multiple: CRM indication and prompt customization 2025-02-15 13:39:33 +02:00
cursor-sensor.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
debug-early.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
debug.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
derived.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
disass.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
easy-mmode.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
easymenu.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
edebug.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eieio-base.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eieio-core.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eieio-custom.el Prefer defface's ':slant italic' to obsolete alias ':italic t' 2025-01-21 09:56:59 +01:00
eieio-datadebug.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
eieio-opt.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eieio-speedbar.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eieio.el Prefer '(evenp A)' to '(= 0 (% A 2))' 2025-02-17 05:37:10 +01:00
eldoc.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
elint.el Prefer '(evenp A)' to '(= 0 (logand A 1))' 2025-02-17 19:30:44 +01:00
elp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ert-font-lock.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ert-x.el Prefer '(evenp A)' to '(= 0 (% A 2))' 2025-02-17 05:37:10 +01:00
ert.el Prefer '(evenp A)' to '(= 0 (% A 2))' 2025-02-17 05:37:10 +01:00
ewoc.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
faceup.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
find-func.el Fix ERT / find-function type integration typos 2025-01-22 19:22:24 -08:00
float-sup.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
generate-lisp-file.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
generator.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
generic.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
gv.el Prefer '(oddp A)' to '(= 1 (logand A 1))' 2025-02-17 19:33:56 +01:00
helper.el Prefer '(evenp A)' to '(= 0 (% A 2))' 2025-02-17 05:37:10 +01:00
hierarchy.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
icons.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
inline.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
let-alist.el Merge from origin/emacs-30 2025-02-01 07:39:56 -05:00
lisp-mnt.el ; Delete redundant defvar 2025-02-11 08:42:24 +01:00
lisp-mode.el Highlight multiple symbols in single quotes in CL strings 2025-02-12 04:15:07 +01:00
lisp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
loaddefs-gen.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
macroexp.el Prefer '(oddp A)' to '(= 1 (logand A 1))' 2025-02-17 19:33:56 +01:00
map-ynp.el Use read-key in amp-y-or-n-p (bug#75886) 2025-02-06 05:36:18 +01:00
map.el ; Minor improvements for doc strings in map.el 2025-01-23 12:29:04 +02:00
memory-report.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
multisession.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
nadvice.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
oclosure.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
package-vc.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
package.el Add new function lm-package-version 2025-02-11 08:42:24 +01:00
pcase.el Prefer '(evenp A)' to '(= 0 (% A 2))' 2025-02-17 05:37:10 +01:00
pp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
radix-tree.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
range.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
re-builder.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
regexp-opt.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
regi.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ring.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rmc.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
rx.el Make the rx eval form use lexical binding when active 2025-02-17 16:24:53 +01:00
seq.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
shadow.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
shortdoc.el New functions plusp and minusp 2025-02-17 22:46:56 +01:00
shorthands.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
smie.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
subr-x.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
syntax.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tabulated-list.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tcover-ses.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
testcover.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
text-property-search.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
thunk.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
timer-list.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
timer.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tq.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
trace.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
track-changes.el Merge remote-tracking branch 'origin/emacs-30' 2025-02-05 20:21:03 -05:00
unsafep.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
vtable.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
warnings.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00