diff options
| author | Richard M. Stallman | 2005-09-04 01:37:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-09-04 01:37:17 +0000 |
| commit | 0c6087a609a6042e3daea9d1fa27c140c992952c (patch) | |
| tree | b95c2ecddd00bb8c3bc5fe741fa65cda53d1edba | |
| parent | f2455bde702baba8893a7b619114242a25c36317 (diff) | |
| download | emacs-0c6087a609a6042e3daea9d1fa27c140c992952c.tar.gz emacs-0c6087a609a6042e3daea9d1fa27c140c992952c.zip | |
(nil and t): Minor cleanup.
Delete spurious mention of keyword symbols.
(Evaluation Notation): Add index entry.
(A Sample Function Description): Minor cleanup.
(A Sample Variable Description): Not all vars can be set.
| -rw-r--r-- | lispref/ChangeLog | 8 | ||||
| -rw-r--r-- | lispref/intro.texi | 22 |
2 files changed, 19 insertions, 11 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 9c19c136926..f5079dc52a6 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2005-09-03 Joshua Varner <jlvarner@gmail.com> (tiny change) | ||
| 2 | |||
| 3 | * intro.texi (nil and t): Minor cleanup. | ||
| 4 | Delete spurious mention of keyword symbols. | ||
| 5 | (Evaluation Notation): Add index entry. | ||
| 6 | (A Sample Function Description): Minor cleanup. | ||
| 7 | (A Sample Variable Description): Not all vars can be set. | ||
| 8 | |||
| 1 | 2005-09-03 Thien-Thi Nguyen <ttn@gnu.org> | 9 | 2005-09-03 Thien-Thi Nguyen <ttn@gnu.org> |
| 2 | 10 | ||
| 3 | * text.texi (Buffer Contents): Use "\n" in examples' result strings. | 11 | * text.texi (Buffer Contents): Use "\n" in examples' result strings. |
diff --git a/lispref/intro.texi b/lispref/intro.texi index 01ffeb3321c..8c3501c823b 100644 --- a/lispref/intro.texi +++ b/lispref/intro.texi | |||
| @@ -197,7 +197,7 @@ in Lisp programs also. | |||
| 197 | (not nil) ; @r{Emphasize the truth value @var{false}} | 197 | (not nil) ; @r{Emphasize the truth value @var{false}} |
| 198 | @end example | 198 | @end example |
| 199 | 199 | ||
| 200 | @cindex @code{t} and truth | 200 | @cindex @code{t}, uses of |
| 201 | @cindex true | 201 | @cindex true |
| 202 | In contexts where a truth value is expected, any non-@code{nil} value | 202 | In contexts where a truth value is expected, any non-@code{nil} value |
| 203 | is considered to be @var{true}. However, @code{t} is the preferred way | 203 | is considered to be @var{true}. However, @code{t} is the preferred way |
| @@ -209,14 +209,14 @@ choosing, use @code{t}. The symbol @code{t} always has the value | |||
| 209 | In Emacs Lisp, @code{nil} and @code{t} are special symbols that always | 209 | In Emacs Lisp, @code{nil} and @code{t} are special symbols that always |
| 210 | evaluate to themselves. This is so that you do not need to quote them | 210 | evaluate to themselves. This is so that you do not need to quote them |
| 211 | to use them as constants in a program. An attempt to change their | 211 | to use them as constants in a program. An attempt to change their |
| 212 | values results in a @code{setting-constant} error. The same is true of | 212 | values results in a @code{setting-constant} error. @xref{Constant |
| 213 | any symbol whose name starts with a colon (@samp{:}). @xref{Constant | ||
| 214 | Variables}. | 213 | Variables}. |
| 215 | 214 | ||
| 216 | @node Evaluation Notation | 215 | @node Evaluation Notation |
| 217 | @subsection Evaluation Notation | 216 | @subsection Evaluation Notation |
| 218 | @cindex evaluation notation | 217 | @cindex evaluation notation |
| 219 | @cindex documentation notation | 218 | @cindex documentation notation |
| 219 | @cindex notation | ||
| 220 | 220 | ||
| 221 | A Lisp expression that you can evaluate is called a @dfn{form}. | 221 | A Lisp expression that you can evaluate is called a @dfn{form}. |
| 222 | Evaluating a form always produces a result, which is a Lisp object. In | 222 | Evaluating a form always produces a result, which is a Lisp object. In |
| @@ -355,11 +355,11 @@ indicates that the subsequent arguments may be omitted (omitted | |||
| 355 | arguments default to @code{nil}). Do not write @code{&optional} when | 355 | arguments default to @code{nil}). Do not write @code{&optional} when |
| 356 | you call the function. | 356 | you call the function. |
| 357 | 357 | ||
| 358 | The keyword @code{&rest} (which must be followed by a single argument | 358 | The keyword @code{&rest} (which must be followed by a single |
| 359 | name) indicates that any number of arguments can follow. The single | 359 | argument name) indicates that any number of arguments can follow. The |
| 360 | following argument name will have a value, as a variable, which is a | 360 | single argument name following @code{&rest} will receive, as its |
| 361 | list of all these remaining arguments. Do not write @code{&rest} when | 361 | value, a list of all the remaining arguments passed to the function. |
| 362 | you call the function. | 362 | Do not write @code{&rest} when you call the function. |
| 363 | 363 | ||
| 364 | Here is a description of an imaginary function @code{foo}: | 364 | Here is a description of an imaginary function @code{foo}: |
| 365 | 365 | ||
| @@ -450,9 +450,9 @@ from @var{body}, which includes all remaining elements of the form. | |||
| 450 | @cindex variable descriptions | 450 | @cindex variable descriptions |
| 451 | @cindex option descriptions | 451 | @cindex option descriptions |
| 452 | 452 | ||
| 453 | A @dfn{variable} is a name that can hold a value. Although any | 453 | A @dfn{variable} is a name that can hold a value. Although nearly |
| 454 | variable can be set by the user, certain variables that exist | 454 | all variables can be set by the user, certain variables exist |
| 455 | specifically so that users can change them are called @dfn{user | 455 | specifically so that users can change them; these are called @dfn{user |
| 456 | options}. Ordinary variables and user options are described using a | 456 | options}. Ordinary variables and user options are described using a |
| 457 | format like that for functions except that there are no arguments. | 457 | format like that for functions except that there are no arguments. |
| 458 | 458 | ||