From 9dc6c21b4148222f404fe5af4dc6a24613a58d7c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 31 May 2025 11:12:58 +0300 Subject: [PATCH] ; * lisp/subr.el (setq-local): Doc fix (bug#78644). --- lisp/subr.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/subr.el b/lisp/subr.el index 99981848db4..50ebc598e80 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