aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2020-04-24 19:19:31 -0700
committerPaul Eggert2020-04-24 19:20:38 -0700
commita76af88dd872091f78bb1a4716750934f6fbaab3 (patch)
treee243635a09e1292c294010bbec09ff13753d77c5 /doc
parentf7e488d20694dea6d2cbb5f74381f7e6f1e4d484 (diff)
downloademacs-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.texi4
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
2401call @code{(make-string 3 ?a)} yields a mutable string that can be 2401call @code{(make-string 3 ?a)} yields a mutable string that can be
2402changed via later calls to @code{aset}. 2402changed 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 2405that is evaluated, because a program should not modify an object
2406that is being evaluated. The reverse does not occur: constant objects 2406that is being evaluated. The reverse does not occur: constant objects
2407should stay constant. 2407should stay constant.
2408 2408