aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorStefan Monnier2014-10-20 18:23:28 -0400
committerStefan Monnier2014-10-20 18:23:28 -0400
commit2d8e7d1d0367cb9de1956224503afeaa2d4563cd (patch)
tree0c785f5339fd2cfca45812cb8f5ffe0fbaeb1311 /doc/misc
parent3e7807011bfb0e7921949ff5d74b2afa5129a726 (diff)
downloademacs-2d8e7d1d0367cb9de1956224503afeaa2d4563cd.tar.gz
emacs-2d8e7d1d0367cb9de1956224503afeaa2d4563cd.zip
* doc/misc/eieio.texi (Accessing Slots, CLOS compatibility): Adjust wording
since `setf' is in core rather than in CL nowadays.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/eieio.texi10
2 files changed, 8 insertions, 7 deletions
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 @@
12014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * eieio.texi (Accessing Slots, CLOS compatibility): Adjust wording
4 since `setf' is in core rather than in CL nowadays.
5
12014-10-20 Glenn Morris <rgm@gnu.org> 62014-10-20 Glenn Morris <rgm@gnu.org>
2 7
3 * efaq.texi (Finding a package with particular functionality): 8 * 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.
755 755
756@defun set-slot-value object slot value 756@defun set-slot-value object slot value
757@anchor{set-slot-value} 757@anchor{set-slot-value}
758This is not a CLOS function, but is meant to mirror @code{slot-value} if 758This is not a CLOS function, but is the setter for @code{slot-value}
759you don't want to use the cl package's @code{setf} function. This 759used by the @code{setf} macro. This
760function sets the value of @var{slot} from @var{object}. Unlike 760function sets the value of @var{slot} from @var{object}. Unlike
761@code{oset}, the symbol for @var{slot} must be quoted. 761@code{oset}, the symbol for @var{slot} must be quoted.
762@end defun 762@end defun
@@ -790,7 +790,7 @@ This establishes a lexical environment for referring to the slots in
790the instance named by the given slot-names as though they were 790the instance named by the given slot-names as though they were
791variables. Within such a context the value of the slot can be 791variables. Within such a context the value of the slot can be
792specified by using its slot name, as if it were a lexically bound 792specified by using its slot name, as if it were a lexically bound
793variable. Both setf and setq can be used to set the value of the 793variable. Both @code{setf} and @code{setq} can be used to set the value of the
794slot. 794slot.
795 795
796@var{spec-list} is of a form similar to @dfn{let}. For example: 796@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
1850in @eieio{} this function accepts replacement arguments. This permits 1850in @eieio{} this function accepts replacement arguments. This permits
1851subclasses to modify arguments as they are passed up the tree. If no 1851subclasses to modify arguments as they are passed up the tree. If no
1852arguments are given, the expected CLOS behavior is used. 1852arguments are given, the expected CLOS behavior is used.
1853@item setf
1854If the common-lisp subsystem is loaded, the setf parameters are also
1855loaded so the form @code{(setf (slot-value object slot) t)} should
1856work.
1857@end table 1853@end table
1858 1854
1859CLOS supports the @code{describe} command, but @eieio{} provides 1855CLOS supports the @code{describe} command, but @eieio{} provides