]> code.delx.au - gnu-emacs/commitdiff
* doc/misc/eieio.texi (Accessing Slots, CLOS compatibility): Adjust wording
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 20 Oct 2014 22:23:28 +0000 (18:23 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 20 Oct 2014 22:23:28 +0000 (18:23 -0400)
since `setf' is in core rather than in CL nowadays.

doc/misc/ChangeLog
doc/misc/eieio.texi

index dda1b35594b347231bfb3c3c4a6792200504ad4e..0aafd852d1a6a00ecae16163151ecdc4e844e6ed 100644 (file)
@@ -1,3 +1,8 @@
+2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * eieio.texi (Accessing Slots, CLOS compatibility): Adjust wording
+       since `setf' is in core rather than in CL nowadays.
+
 2014-10-20  Glenn Morris  <rgm@gnu.org>
 
        * efaq.texi (Finding a package with particular functionality):
index 937fae26907482345c3c38744a91bfe51f1d422d..c78229b8ab7218223aa7b27fff1c59a028b1d3d9 100644 (file)
@@ -755,8 +755,8 @@ Unlike @code{oref}, the symbol for @var{slot} must be quoted.
 
 @defun set-slot-value object slot value
 @anchor{set-slot-value}
-This is not a CLOS function, but is meant to mirror @code{slot-value} if
-you don't want to use the cl package's @code{setf} function.  This
+This is not a CLOS function, but is the setter for @code{slot-value}
+used by the @code{setf} macro.  This
 function sets the value of @var{slot} from @var{object}.  Unlike
 @code{oset}, the symbol for @var{slot} must be quoted.
 @end defun
@@ -790,7 +790,7 @@ This establishes a lexical environment for referring to the slots in
 the instance named by the given slot-names as though they were
 variables.  Within such a context the value of the slot can be
 specified by using its slot name, as if it were a lexically bound
-variable.  Both setf and setq can be used to set the value of the
+variable.  Both @code{setf} and @code{setq} can be used to set the value of the
 slot.
 
 @var{spec-list} is of a form similar to @dfn{let}.  For example:
@@ -1850,10 +1850,6 @@ for the given object.  This is different than that found in CLOS because
 in @eieio{} this function accepts replacement arguments.  This permits
 subclasses to modify arguments as they are passed up the tree.  If no
 arguments are given, the expected CLOS behavior is used.
-@item setf
-If the common-lisp subsystem is loaded, the setf parameters are also
-loaded so the form @code{(setf (slot-value object slot) t)} should
-work.
 @end table
 
 CLOS supports the @code{describe} command, but @eieio{} provides