1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
emacs/doc
Earl Hyatt e04d1dafc7 Add cl-with-accessors
* lisp/emacs-lisp/cl-macs.el (cl-with-accessors): New macro.
* doc/misc/cl.texi (Structures): Mention the new macro.
* test/lisp/emacs-lisp/cl-macs-tests.el (cl-lib-struct-with-accessors):
New Test.
* etc/NEWS (New macro 'cl-with-accessors'.): Mention the macro.

This macro is useful when making repeated use of a structures accessor
functions, such as reading from a slot and then writing to a slot.  It
is similar to 'with-slots' from EIEIO, but uses accessor functions
instead of slot names.
2025-03-31 14:29:48 -04:00
..
emacs time-stamp source commentary: point to manual section 2025-03-29 16:53:23 -07:00
lispintro Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
lispref (replace-region-contents): Improve and promote (bug#76313) 2025-03-29 17:49:05 -04:00
man Remove ctags program 2025-03-22 11:57:29 -07:00
misc Add cl-with-accessors 2025-03-31 14:29:48 -04:00
translations Update copyright year to 2025 2025-01-02 18:39:42 +01:00