]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/subr.el (setq-local): Fix last doc change.
authorEli Zaretskii <eliz@gnu.org>
Fri, 4 Nov 2022 07:49:48 +0000 (09:49 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 4 Nov 2022 07:49:48 +0000 (09:49 +0200)
lisp/subr.el

index b60bc110797c4ba9dc452803049c590258799bea..6b83196d05b6349b3e9a388638ee1f8dcacae4cb 100644 (file)
@@ -161,16 +161,18 @@ of previous VARs.
     `(progn . ,(nreverse exps))))
 
 (defmacro setq-local (&rest pairs)
-  "Make VARIABLEs buffer-local and assign them the corresponding VALUEs.
+  "Make each VARIABLE buffer-local and assign to it the corresponding VALUE.
 
-The args are a list of variable/value pairs.  For each VARIABLE,
-make it buffer-local and assign it the corresponding VALUE.  The
-variables are literal symbols and should not be quoted.
+The arguments are variable/value pairs  For each VARIABLE in a pair,
+make VARIABLE buffer-local and assign to it the corresponding VALUE
+of the pair.  The VARIABLEs are literal symbols and should not be quoted.
 
-The second VALUE is not computed until after the first VARIABLE
-is set, and so on; each VALUE can use the new value of variables
-set earlier in the `setq-local'.  The return value of the
-`setq-local' form is the value of the last VALUE.
+The VALUE of the Nth pair is not computed until after the VARIABLE
+of the (N-1)th pair is set; thus, each VALUE can use the new VALUEs
+of VARIABLEs set by earlier pairs.
+
+The return value of the `setq-local' form is the VALUE of the last
+pair.
 
 \(fn [VARIABLE VALUE]...)"
   (declare (debug setq))