1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

(nil and t): Clarify.

This commit is contained in:
Richard M. Stallman 2006-05-02 00:09:03 +00:00
parent beea1ef6c5
commit d0789de9cd
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2006-05-01 Richard Stallman <rms@gnu.org>
* intro.texi (nil and t): Clarify.
* variables.texi (File Local Variables): Suggest using booleanp.
2006-05-01 Juanma Barranquero <lekktu@gmail.com>
* objects.texi (Type Predicates): Fix typos.

View File

@ -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