emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 05089a4: Tweak wording re constant variables


From: Paul Eggert
Subject: emacs-27 05089a4: Tweak wording re constant variables
Date: Sun, 19 Apr 2020 22:53:45 -0400 (EDT)

branch: emacs-27
commit 05089a4d65831c5e873956f5f2d92a3d5672d405
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Tweak wording re constant variables
    
    * doc/lispref/objects.texi (Constants and Mutability): Tweak.
    Problem reported by Michael Heerdegen (Bug#40693#44).
---
 doc/lispref/objects.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi
index b45eb7a..abd258e 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
 call @code{(make-string 3 ?a)} yields a mutable string that can be
 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
 resulting behavior is undefined: the Lisp interpreter might or might
 not detect the error, and if it does not detect the error the



reply via email to

[Prev in Thread] Current Thread [Next in Thread]