mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
; * lisp/subr.el (setq-local): Fix last doc change.
This commit is contained in:
parent
ca3763af5c
commit
23868658a2
1 changed files with 10 additions and 8 deletions
18
lisp/subr.el
18
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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue