aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispintro
diff options
context:
space:
mode:
authorPaul Eggert2020-04-19 12:00:49 -0700
committerPaul Eggert2020-04-19 13:29:57 -0700
commitdca35b31d0a58efdcc698faf90493b96fa8e1406 (patch)
tree7b40c27250607e6010152121d7dc5dc2624532fd /doc/lispintro
parent81e7d7f111872c9f2aaf8885db50a22ed746d7b5 (diff)
downloademacs-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/lispintro')
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index 630676d9786..ea16d9ef155 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -9557,7 +9557,7 @@ part of which is the address of the next pair. The very last box
9557points to the symbol @code{nil}, which marks the end of the list. 9557points to the symbol @code{nil}, which marks the end of the list.
9558 9558
9559@need 1200 9559@need 1200
9560When a variable is set to a list via @code{setq}, 9560When a variable is set to a list with an operation such as @code{setq},
9561it stores the address of the first box in the variable. Thus, 9561it stores the address of the first box in the variable. Thus,
9562evaluation of the expression 9562evaluation of the expression
9563 9563
@@ -17140,7 +17140,7 @@ The following turns off Indent Tabs mode:
17140@end smallexample 17140@end smallexample
17141 17141
17142Note that this line uses @code{setq-default} rather than the 17142Note that this line uses @code{setq-default} rather than the
17143@code{setq} that we have seen before. The @code{setq-default} 17143@code{setq} that we have seen before; @code{setq-default}
17144sets values only in buffers that do not have their own local 17144sets values only in buffers that do not have their own local
17145values for the variable. 17145values for the variable.
17146 17146