diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-05-16 17:17:00 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-05-16 18:24:07 -0700 |
commit | 6ac2326e5bc4796087910eb429e0cb4384e0e0cf (patch) | |
tree | c9a3a32445d1a7dff31829d4efc8f3ed8dcc0c09 /doc/lispref/elisp.texi | |
parent | b4937f64cd97ff6bf93538987c014f8ea8ff9d34 (diff) | |
download | emacs-6ac2326e5bc4796087910eb429e0cb4384e0e0cf.tar.gz |
Don’t use “constant” for values you shouldn’t change
Inspired by patch proposed by Dmitry Gutov (Bug#40671#393)
and by further comments by him and by Michael Heerdegen
in the same bug report.
* doc/lispintro/emacs-lisp-intro.texi (setcar):
Don’t push mutability here.
* doc/lispref/eval.texi (Self-Evaluating Forms, Quoting)
(Backquote):
* doc/lispref/lists.texi (Modifying Lists):
* doc/lispref/objects.texi (Lisp Data Types, Mutability):
* doc/lispref/sequences.texi (Array Functions, Vectors):
* doc/lispref/strings.texi (String Basics, Modifying Strings):
Don’t use the word “constant” to describe all values that
a program should not change.
* doc/lispref/objects.texi (Mutability):
Rename from “Constants and Mutability”. All uses changed.
In a footnote, contrast the Emacs behavior with that of Common
Lisp, Python, etc. for clarity, and say the goal is to be nicer.
Diffstat (limited to 'doc/lispref/elisp.texi')
-rw-r--r-- | doc/lispref/elisp.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi index bba1b63115f..9a6796790c4 100644 --- a/doc/lispref/elisp.texi +++ b/doc/lispref/elisp.texi @@ -297,7 +297,7 @@ Lisp Data Types * Circular Objects:: Read syntax for circular structure. * Type Predicates:: Tests related to types. * Equality Predicates:: Tests of equality between any two objects. -* Constants and Mutability:: Whether an object's value can change. +* Mutability:: Some objects should not be modified. Programming Types |