diff options
| author | Glenn Morris | 2013-10-09 13:17:20 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-10-09 13:17:20 -0400 |
| commit | fa02290953acd2d0cda982d98ffd32e9f6873d28 (patch) | |
| tree | 2a141d56f3222dceb56771b7cb5d606f9809362c /src/eval.c | |
| parent | 574411d08a399826fb02d7c2d71280d567e5d181 (diff) | |
| download | emacs-fa02290953acd2d0cda982d98ffd32e9f6873d28.tar.gz emacs-fa02290953acd2d0cda982d98ffd32e9f6873d28.zip | |
Doc tweaks for cond
* doc/lispref/control.texi (Conditionals): Copyedits.
* src/eval.c (Fcond): Doc tweak.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eval.c b/src/eval.c index 3b4dc9a88d1..1e0a63a0ece 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Evaluator for GNU Emacs Lisp interpreter. | 1 | /* Evaluator for GNU Emacs Lisp interpreter. |
| 2 | Copyright (C) 1985-1987, 1993-1995, 1999-2013 Free Software | 2 | |
| 3 | Foundation, Inc. | 3 | Copyright (C) 1985-1987, 1993-1995, 1999-2013 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -405,9 +405,9 @@ Each clause looks like (CONDITION BODY...). CONDITION is evaluated | |||
| 405 | and, if the value is non-nil, this clause succeeds: | 405 | and, if the value is non-nil, this clause succeeds: |
| 406 | then the expressions in BODY are evaluated and the last one's | 406 | then the expressions in BODY are evaluated and the last one's |
| 407 | value is the value of the cond-form. | 407 | value is the value of the cond-form. |
| 408 | If a clause has one element, as in (CONDITION), then the cond-form | ||
| 409 | returns CONDITION's value, if that is non-nil. | ||
| 408 | If no clause succeeds, cond returns nil. | 410 | If no clause succeeds, cond returns nil. |
| 409 | If a clause has one element, as in (CONDITION), | ||
| 410 | CONDITION's value if non-nil is returned from the cond-form. | ||
| 411 | usage: (cond CLAUSES...) */) | 411 | usage: (cond CLAUSES...) */) |
| 412 | (Lisp_Object args) | 412 | (Lisp_Object args) |
| 413 | { | 413 | { |