diff options
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/eieio.texi | 10 |
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 @@ | |||
| 1 | 2014-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 | |||
| 1 | 2014-10-20 Glenn Morris <rgm@gnu.org> | 6 | 2014-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} |
| 758 | This is not a CLOS function, but is meant to mirror @code{slot-value} if | 758 | This is not a CLOS function, but is the setter for @code{slot-value} |
| 759 | you don't want to use the cl package's @code{setf} function. This | 759 | used by the @code{setf} macro. This |
| 760 | function sets the value of @var{slot} from @var{object}. Unlike | 760 | function 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 | |||
| 790 | the instance named by the given slot-names as though they were | 790 | the instance named by the given slot-names as though they were |
| 791 | variables. Within such a context the value of the slot can be | 791 | variables. Within such a context the value of the slot can be |
| 792 | specified by using its slot name, as if it were a lexically bound | 792 | specified by using its slot name, as if it were a lexically bound |
| 793 | variable. Both setf and setq can be used to set the value of the | 793 | variable. Both @code{setf} and @code{setq} can be used to set the value of the |
| 794 | slot. | 794 | slot. |
| 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 | |||
| 1850 | in @eieio{} this function accepts replacement arguments. This permits | 1850 | in @eieio{} this function accepts replacement arguments. This permits |
| 1851 | subclasses to modify arguments as they are passed up the tree. If no | 1851 | subclasses to modify arguments as they are passed up the tree. If no |
| 1852 | arguments are given, the expected CLOS behavior is used. | 1852 | arguments are given, the expected CLOS behavior is used. |
| 1853 | @item setf | ||
| 1854 | If the common-lisp subsystem is loaded, the setf parameters are also | ||
| 1855 | loaded so the form @code{(setf (slot-value object slot) t)} should | ||
| 1856 | work. | ||
| 1857 | @end table | 1853 | @end table |
| 1858 | 1854 | ||
| 1859 | CLOS supports the @code{describe} command, but @eieio{} provides | 1855 | CLOS supports the @code{describe} command, but @eieio{} provides |