; Improve wording of previous change in variables.texi
* doc/lispref/variables.texi (Default Value): Improve wording of last change.
This commit is contained in:
parent
d7973e808d
commit
697167b543
1 changed files with 7 additions and 6 deletions
|
@ -1580,12 +1580,13 @@ an ordinary evaluated argument.
|
|||
@end example
|
||||
@end defun
|
||||
|
||||
A variable can be let-bound (@pxref{Local Variables}) to a
|
||||
non-default value; in that case, @code{default-value} will return the
|
||||
value from that binding, not the global value, and @code{set-default}
|
||||
will be prevented from setting the global value. The following two
|
||||
functions allow to reference the global value even if it's masked by a
|
||||
let-binding.
|
||||
A variable can be let-bound (@pxref{Local Variables}) to a value.
|
||||
This makes its global value shadowed by the binding;
|
||||
@code{default-value} will then return the value from that binding, not
|
||||
the global value, and @code{set-default} will be prevented from
|
||||
setting the global value (it will change the let-bound value instead).
|
||||
The following two functions allow to reference the global value even
|
||||
if it's shadowed by a let-binding.
|
||||
|
||||
@cindex top-level default value
|
||||
@defun default-toplevel-value symbol
|
||||
|
|
Loading…
Add table
Reference in a new issue