summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-10-09 13:17:20 -0400
committerGlenn Morris <rgm@gnu.org>2013-10-09 13:17:20 -0400
commitfa02290953acd2d0cda982d98ffd32e9f6873d28 (patch)
tree2a141d56f3222dceb56771b7cb5d606f9809362c /src/eval.c
parent574411d08a399826fb02d7c2d71280d567e5d181 (diff)
downloademacs-fa02290953acd2d0cda982d98ffd32e9f6873d28.tar.gz
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.c8
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 @@
/* Evaluator for GNU Emacs Lisp interpreter.
- Copyright (C) 1985-1987, 1993-1995, 1999-2013 Free Software
- Foundation, Inc.
+
+Copyright (C) 1985-1987, 1993-1995, 1999-2013 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -405,9 +405,9 @@ Each clause looks like (CONDITION BODY...). CONDITION is evaluated
and, if the value is non-nil, this clause succeeds:
then the expressions in BODY are evaluated and the last one's
value is the value of the cond-form.
+If a clause has one element, as in (CONDITION), then the cond-form
+returns CONDITION's value, if that is non-nil.
If no clause succeeds, cond returns nil.
-If a clause has one element, as in (CONDITION),
-CONDITION's value if non-nil is returned from the cond-form.
usage: (cond CLAUSES...) */)
(Lisp_Object args)
{