]> git.eshelyaron.com Git - emacs.git/commitdiff
; * doc/misc/cl.texi (Structures): Fix references and markup.
authorEli Zaretskii <eliz@gnu.org>
Tue, 1 Apr 2025 11:19:54 +0000 (14:19 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 3 Apr 2025 16:50:02 +0000 (18:50 +0200)
(cherry picked from commit 4f6fa90ec5c8fa2d5709a9ba375dbfa8f0029115)

doc/misc/cl.texi

index 7219494391b0d0204401c9281ef751c45ebd8544..4bceddb81964a9769983195d2ef8c7da1993827b 100644 (file)
@@ -4066,17 +4066,17 @@ A documentation string describing the slot.
 
 Other slot options are currently ignored.
 
-@defmac cl-with-accessors name bindings body@dot{}
+@defmac cl-with-accessors name bindings body@dots{}
 You can use @code{cl-with-accessors} to lexically define symbols as
 expressions calling the given accessor functions on a single instance of
 a structure or class defined by @code{cl-defstruct} or @code{defclass}
-(@pxref{eieio}).  This can simplify code that repeatedly accesses slots.
-With it, you can use @code{setf} and @code{setq} on the symbols like
-normal variables, modifying the values in the structure.  Unlike the
-macro @code{with-slots} (@pxref{Accessing Slots,,,eieio,EIEIO}), because
-the symbol expands to a function call, @code{cl-with-accessors} can be
-used with any generalized variable that can take a single argument, such
-as @code{cl-first} and @code{cl-rest}.
+(@pxref{Building Classes,,,eieio,EIEIO}).  This can simplify code that
+repeatedly accesses slots.  With it, you can use @code{setf} and
+@code{setq} on the symbols like normal variables, modifying the values
+in the structure.  Unlike the macro @code{with-slots} (@pxref{Accessing
+Slots,,,eieio,EIEIO}), because the symbol expands to a function call,
+@code{cl-with-accessors} can be used with any generalized variable that
+can take a single argument, such as @code{cl-first} and @code{cl-rest}.
 @end defmac
 
 @example