diff options
| author | Richard M. Stallman | 2006-05-02 00:09:03 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-05-02 00:09:03 +0000 |
| commit | d0789de9cd31b775d4e7933fbe99089d1a0144d2 (patch) | |
| tree | 3a848ad0c5d8d47b186516434a9b6552e991758c | |
| parent | beea1ef6c5f76c289f0e42130d4221f7bde7ec4b (diff) | |
| download | emacs-d0789de9cd31b775d4e7933fbe99089d1a0144d2.tar.gz emacs-d0789de9cd31b775d4e7933fbe99089d1a0144d2.zip | |
(nil and t): Clarify.
| -rw-r--r-- | lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | lispref/intro.texi | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 1560660fc3d..020e667ec16 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2006-05-01 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * intro.texi (nil and t): Clarify. | ||
| 4 | |||
| 5 | * variables.texi (File Local Variables): Suggest using booleanp. | ||
| 6 | |||
| 1 | 2006-05-01 Juanma Barranquero <lekktu@gmail.com> | 7 | 2006-05-01 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 8 | ||
| 3 | * objects.texi (Type Predicates): Fix typos. | 9 | * objects.texi (Type Predicates): Fix typos. |
diff --git a/lispref/intro.texi b/lispref/intro.texi index 61dfca64b97..7e1b6155b35 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 | |||
| 163 | addressed as ``you''. ``The user'' is the person who uses Lisp | 163 | addressed as ``you''. ``The user'' is the person who uses Lisp |
| 164 | programs, including those you write. | 164 | programs, including those you write. |
| 165 | 165 | ||
| 166 | @cindex fonts | 166 | @cindex fonts in this manual |
| 167 | Examples of Lisp code are formatted like this: @code{(list 1 2 3)}. | 167 | Examples of Lisp code are formatted like this: @code{(list 1 2 3)}. |
| 168 | Names that represent metasyntactic variables, or arguments to a function | 168 | Names that represent metasyntactic variables, or arguments to a function |
| 169 | being described, are formatted like this: @var{first-number}. | 169 | 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}, | |||
| 187 | there is no way to determine which representation was actually written | 187 | there is no way to determine which representation was actually written |
| 188 | by the programmer. | 188 | by the programmer. |
| 189 | 189 | ||
| 190 | In this manual, we use @code{()} when we wish to emphasize that it | 190 | In this manual, we write @code{()} when we wish to emphasize that it |
| 191 | means the empty list, and we use @code{nil} when we wish to emphasize | 191 | means the empty list, and we write @code{nil} when we wish to emphasize |
| 192 | that it means the truth value @var{false}. That is a good convention to use | 192 | that it means the truth value @var{false}. That is a good convention to use |
| 193 | in Lisp programs also. | 193 | in Lisp programs also. |
| 194 | 194 | ||
| 195 | @example | 195 | @example |
| 196 | (cons 'foo ()) ; @r{Emphasize the empty list} | 196 | (cons 'foo ()) ; @r{Emphasize the empty list} |
| 197 | (not nil) ; @r{Emphasize the truth value @var{false}} | 197 | (setq foo-flag nil) ; @r{Emphasize the truth value @var{false}} |
| 198 | @end example | 198 | @end example |
| 199 | 199 | ||
| 200 | @cindex @code{t}, uses of | 200 | @cindex @code{t}, uses of |