1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-10 00:00:39 -08:00
emacs/test/lisp/emacs-lisp
Stefan Kangas 95fee880e4 New macros incf and decf
* lisp/emacs-lisp/cl-lib.el (cl-incf, cl-decf): Move macros from here...
* lisp/emacs-lisp/gv.el (incf, decf): ...to here.  Make old names into
aliases, documented as deprecated.
* lisp/obsolete/cl.el: Don't alias incf and decf.

* test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-test-incf)
(cl-lib-test-decf): Move tests from here...
* test/lisp/emacs-lisp/gv-tests.el (gv-incf, gv-decf): ...to here.

* doc/lispref/numbers.texi (Arithmetic Operations):
* lisp/emacs-lisp/shortdoc.el (number): Document incf and decf.

* doc/lispref/variables.texi (Multisession Variables):
* doc/misc/cl.texi (Organization, Modify Macros, Modify Macros)
(Modify Macros, Macro Bindings, For Clauses, Property Lists)
(Structures, Efficiency Concerns, Obsolete Setf Customization): Delete
cl-incf and cl-decf documentation, moving any relevant parts to lispref.
Delete some parts that seem to primarily regard implementation details
that do not warrant inclusion in lispref.  Update all examples to use
incf/decf.
2025-02-23 00:38:22 +01:00
..
bytecomp-resources Single string literal in body is return value only, not doc string 2024-03-07 13:47:53 +01:00
edebug-resources Update copyright year to 2025 2025-01-01 07:39:17 +00:00
eieio-tests Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ert-font-lock-resources Improve ert-font-lock assertion parser (Bug#69714) 2024-03-28 11:40:27 +02:00
faceup-resources Update copyright year to 2025 2025-01-01 07:39:17 +00:00
faceup-tests Update copyright year to 2025 2025-01-01 07:39:17 +00:00
macroexp-resources Update copyright year to 2025 2025-01-01 07:39:17 +00:00
package-resources Update copyright year to 2025 2025-01-01 07:39:17 +00:00
pp-resources Fix pp-emacs-lisp-code printing of cons cells 2022-05-17 19:45:20 +02:00
shadow-resources Use lexical-binding in most remaining emacs-lisp tests 2020-04-30 12:09:51 +02:00
testcover-resources Update copyright year to 2025 2025-01-01 07:39:17 +00:00
backquote-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
backtrace-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
benchmark-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
bindat-tests.el Prefer oddp/evenp to free-coding them in tests 2025-02-17 05:37:10 +01:00
byte-run-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
bytecomp-tests.el Prefer plusp/minusp to cl-plusp/cl-minusp 2025-02-17 22:46:56 +01:00
cconv-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
check-declare-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
checkdoc-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
cl-extra-tests.el Prefer oddp/evenp to cl-oddp/cl-evenp 2025-02-17 05:37:10 +01:00
cl-generic-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
cl-lib-tests.el New macros incf and decf 2025-02-23 00:38:22 +01:00
cl-macs-tests.el Prefer oddp/evenp to cl-oddp/cl-evenp 2025-02-17 05:37:10 +01:00
cl-preloaded-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
cl-print-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
cl-seq-tests.el Prefer plusp/minusp to cl-plusp/cl-minusp 2025-02-17 22:46:56 +01:00
comp-cstr-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
comp-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
cond-star-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
copyright-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
derived-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
easy-mmode-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
edebug-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ert-font-lock-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ert-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ert-x-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
find-func-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
float-sup-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
generator-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
gv-tests.el New macros incf and decf 2025-02-23 00:38:22 +01:00
hierarchy-tests.el ; hierarchy-tests.el: keep doc string within 80 columns 2024-01-31 17:55:53 +01:00
icons-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
let-alist-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
lisp-mnt-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
lisp-mode-tests.el Rename a recently-added variable (bug#56197) 2025-02-01 12:22:13 +02:00
lisp-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
macroexp-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
map-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
memory-report-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
multisession-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
nadvice-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
oclosure-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
package-tests.el ; Suppress obsoletion warning in package-x tests. 2025-02-14 15:42:52 +01:00
pcase-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
pp-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
range-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
regexp-opt-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ring-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rmc-tests.el Use read-key in read-multiple-choice (bug#75886) 2025-02-04 15:38:02 +01:00
rx-tests.el Make the rx eval form use lexical binding when active 2025-02-17 16:24:53 +01:00
seq-tests.el Prefer oddp/evenp to free-coding them in tests 2025-02-17 05:37:10 +01:00
shadow-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
shortdoc-tests.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
subr-x-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
syntax-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
tabulated-list-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
testcover-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
text-property-search-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
thunk-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
timer-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
track-changes-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
unsafep-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
vtable-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
warnings-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00