diff options
| author | Eli Zaretskii | 2016-12-27 09:10:30 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-12-27 09:10:30 +0200 |
| commit | 697167b5432a89db009238cf5cbddc61e69ad339 (patch) | |
| tree | ba725f299fb0b1a7cccbda8092814028bca24894 | |
| parent | d7973e808d54f1adf5224589c5cf770bb17453d2 (diff) | |
| download | emacs-697167b5432a89db009238cf5cbddc61e69ad339.tar.gz emacs-697167b5432a89db009238cf5cbddc61e69ad339.zip | |
; Improve wording of previous change in variables.texi
* doc/lispref/variables.texi (Default Value): Improve wording of
last change.
| -rw-r--r-- | doc/lispref/variables.texi | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index e231cbdfec1..887643196cc 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi | |||
| @@ -1580,12 +1580,13 @@ an ordinary evaluated argument. | |||
| 1580 | @end example | 1580 | @end example |
| 1581 | @end defun | 1581 | @end defun |
| 1582 | 1582 | ||
| 1583 | A variable can be let-bound (@pxref{Local Variables}) to a | 1583 | A variable can be let-bound (@pxref{Local Variables}) to a value. |
| 1584 | non-default value; in that case, @code{default-value} will return the | 1584 | This makes its global value shadowed by the binding; |
| 1585 | value from that binding, not the global value, and @code{set-default} | 1585 | @code{default-value} will then return the value from that binding, not |
| 1586 | will be prevented from setting the global value. The following two | 1586 | the global value, and @code{set-default} will be prevented from |
| 1587 | functions allow to reference the global value even if it's masked by a | 1587 | setting the global value (it will change the let-bound value instead). |
| 1588 | let-binding. | 1588 | The following two functions allow to reference the global value even |
| 1589 | if it's shadowed by a let-binding. | ||
| 1589 | 1590 | ||
| 1590 | @cindex top-level default value | 1591 | @cindex top-level default value |
| 1591 | @defun default-toplevel-value symbol | 1592 | @defun default-toplevel-value symbol |