From: Glenn Morris Date: Mon, 29 Oct 2012 01:12:53 +0000 (-0700) Subject: * lisp/emacs-lisp/cl.el (defsetf): Doc fix. X-Git-Tag: emacs-24.2.90~209^2~28 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a0ccbcbddcdf0c7cb990341fd1b9947c08eaaa15;p=emacs.git * lisp/emacs-lisp/cl.el (defsetf): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3265f8acf41..76cc7e52863 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-10-29 Glenn Morris + + * emacs-lisp/cl.el (defsetf): Doc fix. + 2012-10-29 Stefan Monnier * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el index 34beed0d9ef..a558e505e66 100644 --- a/lisp/emacs-lisp/cl.el +++ b/lisp/emacs-lisp/cl.el @@ -568,9 +568,9 @@ well for simple place forms. In the simple `defsetf' form, `setf's of the form (setf (NAME ARGS...) VAL) are transformed to function or macro calls of the form (FUNC ARGS... VAL). Example: - (cl-defsetf aref aset) + (defsetf aref aset) -Alternate form: (cl-defsetf NAME ARGLIST (STORE) BODY...). +Alternate form: (defsetf NAME ARGLIST (STORE) BODY...). Here, the above `setf' call is expanded by binding the argument forms ARGS according to ARGLIST, binding the value form VAL to STORE, then executing BODY, which must return a Lisp form that does the necessary `setf' operation. @@ -578,7 +578,7 @@ Actually, ARGLIST and STORE may be bound to temporary variables which are introduced automatically to preserve proper execution order of the arguments. Example: - (cl-defsetf nth (n x) (v) `(setcar (nthcdr ,n ,x) ,v)) + (defsetf nth (n x) (v) `(setcar (nthcdr ,n ,x) ,v)) \(fn NAME [FUNC | ARGLIST (STORE) BODY...])" (declare (debug