]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/subr.el (setq-local): Doc fix (bug#78644).
authorEli Zaretskii <eliz@gnu.org>
Sat, 31 May 2025 08:12:58 +0000 (11:12 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 19:54:01 +0000 (21:54 +0200)
(cherry picked from commit 9dc6c21b4148222f404fe5af4dc6a24613a58d7c)

lisp/subr.el

index d6f05ab4d6c554af30ae147fdcc348c441c62cfc..97717eff07b9335a2f941b1a2a6b94199f0b6e81 100644 (file)
@@ -161,11 +161,12 @@ of previous VARs.
     `(progn . ,(nreverse exps))))
 
 (defmacro setq-local (&rest pairs)
-  "Make each VARIABLE buffer-local and assign to it the corresponding VALUE.
+  "Make each VARIABLE local to current buffer and set it to corresponding VALUE.
 
 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.
+make VARIABLE buffer-local in the current buffer and assign to it the
+corresponding VALUE of the pair.  The VARIABLEs are literal symbols
+and should not be quoted.
 
 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