aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2006-05-02 00:09:03 +0000
committerRichard M. Stallman <[email protected]>2006-05-02 00:09:03 +0000
commitd0789de9cd31b775d4e7933fbe99089d1a0144d2 (patch)
tree3a848ad0c5d8d47b186516434a9b6552e991758c
parentbeea1ef6c5f76c289f0e42130d4221f7bde7ec4b (diff)
(nil and t): Clarify.
-rw-r--r--lispref/ChangeLog6
-rw-r--r--lispref/intro.texi8
2 files changed, 10 insertions, 4 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 1560660fc3..020e667ec1 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,9 @@
+2006-05-01 Richard Stallman <[email protected]>
+
+ * intro.texi (nil and t): Clarify.
+
+ * variables.texi (File Local Variables): Suggest using booleanp.
+
2006-05-01 Juanma Barranquero <[email protected]>
* objects.texi (Type Predicates): Fix typos.
diff --git a/lispref/intro.texi b/lispref/intro.texi
index 61dfca64b9..7e1b6155b3 100644
--- a/lispref/intro.texi
+++ b/lispref/intro.texi
@@ -163,7 +163,7 @@ person reading this manual, are thought of as ``the programmer'' and are
addressed as ``you''. ``The user'' is the person who uses Lisp
programs, including those you write.
-@cindex fonts
+@cindex fonts in this manual
Examples of Lisp code are formatted like this: @code{(list 1 2 3)}.
Names that represent metasyntactic variables, or arguments to a function
being described, are formatted like this: @var{first-number}.
@@ -187,14 +187,14 @@ readers. After the Lisp reader has read either @samp{()} or @samp{nil},
there is no way to determine which representation was actually written
by the programmer.
- In this manual, we use @code{()} when we wish to emphasize that it
-means the empty list, and we use @code{nil} when we wish to emphasize
+ In this manual, we write @code{()} when we wish to emphasize that it
+means the empty list, and we write @code{nil} when we wish to emphasize
that it means the truth value @var{false}. That is a good convention to use
in Lisp programs also.
@example
(cons 'foo ()) ; @r{Emphasize the empty list}
-(not nil) ; @r{Emphasize the truth value @var{false}}
+(setq foo-flag nil) ; @r{Emphasize the truth value @var{false}}
@end example
@cindex @code{t}, uses of