From: Eli Zaretskii Date: Sat, 31 May 2025 08:12:58 +0000 (+0300) Subject: ; * lisp/subr.el (setq-local): Doc fix (bug#78644). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c41fc296a476fdba7e485155ddc93f85f636244;p=emacs.git ; * lisp/subr.el (setq-local): Doc fix (bug#78644). (cherry picked from commit 9dc6c21b4148222f404fe5af4dc6a24613a58d7c) --- diff --git a/lisp/subr.el b/lisp/subr.el index d6f05ab4d6c..97717eff07b 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -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