Commit 697167b5 authored by Eli Zaretskii's avatar Eli Zaretskii

; Improve wording of previous change in variables.texi

* doc/lispref/variables.texi (Default Value): Improve wording of
last change.
parent d7973e80
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment