aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorStefan Monnier2014-04-21 23:18:15 -0400
committerStefan Monnier2014-04-21 23:18:15 -0400
commitd6f14ca729315dd94cdb24da47e1569519e3a4dd (patch)
tree61f745135efdeaee056f0b5c0df5039d8a136cef /doc/misc
parent44faec17883a77a54378f607adea302f90f2da9d (diff)
downloademacs-d6f14ca729315dd94cdb24da47e1569519e3a4dd.tar.gz
emacs-d6f14ca729315dd94cdb24da47e1569519e3a4dd.zip
* lisp/emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
(cl--set-elt): Don't proclaim as inline. (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro. Define as inlinable instead. (cl-struct-set-slot-value): Remove. * doc/misc/cl.texi (Structures): Remove cl-struct-set-slot-value. * lisp/emacs-lisp/cl-lib.el (cl--set-elt): Remove. * lisp/emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute): Use setf instead.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/cl.texi13
2 files changed, 5 insertions, 12 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 949552091e5..fb54cd30b12 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
12014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * cl.texi (Structures): Remove cl-struct-set-slot-value.
4
12014-04-20 Daniel Colascione <dancol@dancol.org> 52014-04-20 Daniel Colascione <dancol@dancol.org>
2 6
3 * cl.texi (Declarations): Document changes to `cl-the' and defstruct functions. 7 * cl.texi (Declarations): Document changes to `cl-the' and defstruct functions.
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index 78bc8fb9479..24ec6ea3c70 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -4278,18 +4278,7 @@ not contain @code{slot-name}.
4278Return the value of slot @code{slot-name} in @code{inst} of 4278Return the value of slot @code{slot-name} in @code{inst} of
4279@code{struct-type}. @code{struct} and @code{slot-name} are symbols. 4279@code{struct-type}. @code{struct} and @code{slot-name} are symbols.
4280@code{inst} is a structure instance. This routine is also a 4280@code{inst} is a structure instance. This routine is also a
4281@code{setf} place. @code{cl-struct-slot-value} uses 4281@code{setf} place. Can signal the same errors as @code{cl-struct-slot-offset}.
4282@code{cl-struct-slot-offset} internally and can signal the same
4283errors.
4284@end defun
4285
4286@defun cl-struct-set-slot-value struct-type slot-name inst value
4287Set the value of slot @code{slot-name} in @code{inst} of
4288@code{struct-type}. @code{struct} and @code{slot-name} are symbols.
4289@code{inst} is a structure instance. @code{value} is the value to
4290which to set the given slot. Return @code{value}.
4291@code{cl-struct-slot-value} uses @code{cl-struct-set-slot-offset}
4292internally and can signal the same errors.
4293@end defun 4282@end defun
4294 4283
4295@node Assertions 4284@node Assertions