emacs-diffs
[Top][All Lists]
Advanced

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

master 23868658a2: ; * lisp/subr.el (setq-local): Fix last doc change.


From: Eli Zaretskii
Subject: master 23868658a2: ; * lisp/subr.el (setq-local): Fix last doc change.
Date: Fri, 4 Nov 2022 03:50:13 -0400 (EDT)

branch: master
commit 23868658a20b66d40ed7aa9e9af3c1da141d511e
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * lisp/subr.el (setq-local): Fix last doc change.
---
 lisp/subr.el | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index b60bc11079..6b83196d05 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -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))



reply via email to

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