emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r110712: * lisp/emacs-lisp/cl.el (def


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110712: * lisp/emacs-lisp/cl.el (defsetf): Doc fix.
Date: Sun, 28 Oct 2012 18:12:53 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110712
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sun 2012-10-28 18:12:53 -0700
message:
  * lisp/emacs-lisp/cl.el (defsetf): Doc fix.
modified:
  lisp/ChangeLog
  lisp/emacs-lisp/cl.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-10-29 00:06:39 +0000
+++ b/lisp/ChangeLog    2012-10-29 01:12:53 +0000
@@ -1,3 +1,7 @@
+2012-10-29  Glenn Morris  <address@hidden>
+
+       * emacs-lisp/cl.el (defsetf): Doc fix.
+
 2012-10-29  Stefan Monnier  <address@hidden>
 
        * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation

=== modified file 'lisp/emacs-lisp/cl.el'
--- a/lisp/emacs-lisp/cl.el     2012-09-28 23:51:20 +0000
+++ b/lisp/emacs-lisp/cl.el     2012-10-29 01:12:53 +0000
@@ -568,9 +568,9 @@
 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 @@
 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]