diff options
| author | Paul Eggert | 2020-04-24 19:19:31 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-04-24 19:20:38 -0700 |
| commit | a76af88dd872091f78bb1a4716750934f6fbaab3 (patch) | |
| tree | e243635a09e1292c294010bbec09ff13753d77c5 /doc | |
| parent | f7e488d20694dea6d2cbb5f74381f7e6f1e4d484 (diff) | |
| download | emacs-a76af88dd872091f78bb1a4716750934f6fbaab3.tar.gz emacs-a76af88dd872091f78bb1a4716750934f6fbaab3.zip | |
Tweak mutability doc a bit more
Inspired by a comment from Michael Heerdegen (Bug#40671#114).
* doc/lispref/objects.texi (Constants and Mutability): Tweak further.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/objects.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index 1eda94ab63e..b4e9ff44112 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi | |||
| @@ -2401,8 +2401,8 @@ literal @code{"aaa"} yields a constant string, whereas the function | |||
| 2401 | call @code{(make-string 3 ?a)} yields a mutable string that can be | 2401 | call @code{(make-string 3 ?a)} yields a mutable string that can be |
| 2402 | changed via later calls to @code{aset}. | 2402 | changed via later calls to @code{aset}. |
| 2403 | 2403 | ||
| 2404 | A mutable object can become constant if it is passed to the | 2404 | A mutable object can become constant if it is part of an expression |
| 2405 | @code{eval} function, because a program should not modify an object | 2405 | that is evaluated, because a program should not modify an object |
| 2406 | that is being evaluated. The reverse does not occur: constant objects | 2406 | that is being evaluated. The reverse does not occur: constant objects |
| 2407 | should stay constant. | 2407 | should stay constant. |
| 2408 | 2408 | ||