diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2025-02-22 17:32:31 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2025-02-23 00:38:22 +0100 |
commit | 95fee880e45184f4820e9704b75887ef2d91bd01 (patch) | |
tree | 09afd4a8d6f9ccf0f2cec36e4f604deaf040c728 /test/lisp/emacs-lisp/bytecomp-tests.el | |
parent | 44a1c4a9aea54d6542bcf0c231b080f0ed023229 (diff) | |
download | emacs-95fee880e45184f4820e9704b75887ef2d91bd01.tar.gz emacs-95fee880e45184f4820e9704b75887ef2d91bd01.tar.bz2 emacs-95fee880e45184f4820e9704b75887ef2d91bd01.zip |
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.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-tests.el')
0 files changed, 0 insertions, 0 deletions