From: Stefan Monnier Date: Mon, 20 Oct 2014 22:23:28 +0000 (-0400) Subject: * doc/misc/eieio.texi (Accessing Slots, CLOS compatibility): Adjust wording X-Git-Tag: emacs-24.4.90~333 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2d8e7d1d0367cb9de1956224503afeaa2d4563cd;p=emacs.git * doc/misc/eieio.texi (Accessing Slots, CLOS compatibility): Adjust wording since `setf' is in core rather than in CL nowadays. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index dda1b35594b..0aafd852d1a 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2014-10-20 Stefan Monnier + + * eieio.texi (Accessing Slots, CLOS compatibility): Adjust wording + since `setf' is in core rather than in CL nowadays. + 2014-10-20 Glenn Morris * efaq.texi (Finding a package with particular functionality): diff --git a/doc/misc/eieio.texi b/doc/misc/eieio.texi index 937fae26907..c78229b8ab7 100644 --- a/doc/misc/eieio.texi +++ b/doc/misc/eieio.texi @@ -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