diff options
Diffstat (limited to 'doc/lispref/variables.texi')
| -rw-r--r-- | doc/lispref/variables.texi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index f0e3f337a69..c29547d00db 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi | |||
| @@ -527,10 +527,11 @@ If @var{symbol} has a buffer-local binding in the current buffer, | |||
| 527 | rather than the buffer-local binding. It sets the default value if | 527 | rather than the buffer-local binding. It sets the default value if |
| 528 | the default value is void. @xref{Buffer-Local Variables}. | 528 | the default value is void. @xref{Buffer-Local Variables}. |
| 529 | 529 | ||
| 530 | If @var{symbol} is already lexically bound (e.g., if the @code{defvar} | 530 | If @var{symbol} is already let bound (e.g., if the @code{defvar} |
| 531 | form occurs in a @code{let} form with lexical binding enabled), then | 531 | form occurs in a @code{let} form), then @code{defvar} sets the toplevel |
| 532 | @code{defvar} sets the dynamic value. The lexical binding remains in | 532 | default value, like @code{set-default-toplevel-value}. |
| 533 | effect until its binding construct exits. @xref{Variable Scoping}. | 533 | The let binding remains in effect until its binding construct exits. |
| 534 | @xref{Variable Scoping}. | ||
| 534 | 535 | ||
| 535 | @cindex @code{eval-defun}, and @code{defvar} forms | 536 | @cindex @code{eval-defun}, and @code{defvar} forms |
| 536 | @cindex @code{eval-last-sexp}, and @code{defvar} forms | 537 | @cindex @code{eval-last-sexp}, and @code{defvar} forms |