[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 a76af88: Tweak mutability doc a bit more
From: |
Paul Eggert |
Subject: |
emacs-27 a76af88: Tweak mutability doc a bit more |
Date: |
Fri, 24 Apr 2020 22:20:43 -0400 (EDT) |
branch: emacs-27
commit a76af88dd872091f78bb1a4716750934f6fbaab3
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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.
---
doc/lispref/objects.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi
index 1eda94a..b4e9ff4 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
call @code{(make-string 3 ?a)} yields a mutable string that can be
changed via later calls to @code{aset}.
- A mutable object can become constant if it is passed to the
-@code{eval} function, because a program should not modify an object
+ A mutable object can become constant if it is part of an expression
+that is evaluated, because a program should not modify an object
that is being evaluated. The reverse does not occur: constant objects
should stay constant.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 a76af88: Tweak mutability doc a bit more,
Paul Eggert <=