diff options
| author | Paul Eggert | 2020-04-19 19:52:53 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-04-19 19:53:40 -0700 |
| commit | 05089a4d65831c5e873956f5f2d92a3d5672d405 (patch) | |
| tree | 5b7f9d769b187b616319696365d6b92a1574c29b | |
| parent | a1040861f118881004f59866111f64cd0ae03b7a (diff) | |
| download | emacs-05089a4d65831c5e873956f5f2d92a3d5672d405.tar.gz emacs-05089a4d65831c5e873956f5f2d92a3d5672d405.zip | |
Tweak wording re constant variables
* doc/lispref/objects.texi (Constants and Mutability): Tweak.
Problem reported by Michael Heerdegen (Bug#40693#44).
| -rw-r--r-- | doc/lispref/objects.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index b45eb7ad8a4..abd258eb537 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi | |||
| @@ -2400,7 +2400,8 @@ literal @code{"aaa"} yields a constant string, whereas the function | |||
| 2400 | call @code{(make-string 3 ?a)} yields a mutable string that can be | 2400 | call @code{(make-string 3 ?a)} yields a mutable string that can be |
| 2401 | changed via later calls to @code{aset}. | 2401 | changed via later calls to @code{aset}. |
| 2402 | 2402 | ||
| 2403 | Modifying a constant symbol signals an error (@pxref{Constant Variables}). | 2403 | Trying to modify a constant variable signals an error |
| 2404 | (@pxref{Constant Variables}). | ||
| 2404 | A program should not attempt to modify other types of constants because the | 2405 | A program should not attempt to modify other types of constants because the |
| 2405 | resulting behavior is undefined: the Lisp interpreter might or might | 2406 | resulting behavior is undefined: the Lisp interpreter might or might |
| 2406 | not detect the error, and if it does not detect the error the | 2407 | not detect the error, and if it does not detect the error the |