diff options
| author | Paul Eggert | 2020-04-19 12:00:49 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-04-19 13:29:57 -0700 |
| commit | dca35b31d0a58efdcc698faf90493b96fa8e1406 (patch) | |
| tree | 7b40c27250607e6010152121d7dc5dc2624532fd /doc/lispref/strings.texi | |
| parent | 81e7d7f111872c9f2aaf8885db50a22ed746d7b5 (diff) | |
| download | emacs-dca35b31d0a58efdcc698faf90493b96fa8e1406.tar.gz emacs-dca35b31d0a58efdcc698faf90493b96fa8e1406.zip | |
Improve mutability documentation
This change was inspired by comments from Štěpán Němec in:
https://lists.gnu.org/r/emacs-devel/2020-04/msg01063.html
* doc/lispref/objects.texi (Lisp Data Types): Mention mutability.
(Constants and mutability): New section.
* doc/lispintro/emacs-lisp-intro.texi (Lists diagrammed)
(Indent Tabs Mode): Improve wording.
* doc/lispref/eval.texi (Self-Evaluating Forms):
Say that they return constants.
* doc/lispref/lists.texi (Sets And Lists):
Fix memql mistake/confusion that I recently introduced.
Diffstat (limited to 'doc/lispref/strings.texi')
| -rw-r--r-- | doc/lispref/strings.texi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 3acbf538dce..a4c9c2549c5 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -384,6 +384,7 @@ usual value is @w{@code{"[ \f\t\n\r\v]+"}}. | |||
| 384 | You can alter the contents of a mutable string via operations | 384 | You can alter the contents of a mutable string via operations |
| 385 | described in this section. However, you should not try to use these | 385 | described in this section. However, you should not try to use these |
| 386 | operations to alter the contents of a constant string. | 386 | operations to alter the contents of a constant string. |
| 387 | @xref{Constants and Mutability}. | ||
| 387 | 388 | ||
| 388 | The most basic way to alter the contents of an existing string is with | 389 | The most basic way to alter the contents of an existing string is with |
| 389 | @code{aset} (@pxref{Array Functions}). @code{(aset @var{string} | 390 | @code{aset} (@pxref{Array Functions}). @code{(aset @var{string} |