Tweak wording re constant variables
* doc/lispref/objects.texi (Constants and Mutability): Tweak. Problem reported by Michael Heerdegen (Bug#40693#44).
This commit is contained in:
parent
a1040861f1
commit
05089a4d65
1 changed files with 2 additions and 1 deletions
|
@ -2400,7 +2400,8 @@ literal @code{"aaa"} yields a constant string, whereas the function
|
||||||
call @code{(make-string 3 ?a)} yields a mutable string that can be
|
call @code{(make-string 3 ?a)} yields a mutable string that can be
|
||||||
changed via later calls to @code{aset}.
|
changed via later calls to @code{aset}.
|
||||||
|
|
||||||
Modifying a constant symbol signals an error (@pxref{Constant Variables}).
|
Trying to modify a constant variable signals an error
|
||||||
|
(@pxref{Constant Variables}).
|
||||||
A program should not attempt to modify other types of constants because the
|
A program should not attempt to modify other types of constants because the
|
||||||
resulting behavior is undefined: the Lisp interpreter might or might
|
resulting behavior is undefined: the Lisp interpreter might or might
|
||||||
not detect the error, and if it does not detect the error the
|
not detect the error, and if it does not detect the error the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue