aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorGlenn Morris2013-10-09 13:17:20 -0400
committerGlenn Morris2013-10-09 13:17:20 -0400
commitfa02290953acd2d0cda982d98ffd32e9f6873d28 (patch)
tree2a141d56f3222dceb56771b7cb5d606f9809362c /src/eval.c
parent574411d08a399826fb02d7c2d71280d567e5d181 (diff)
downloademacs-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.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 @@
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. 3Copyright (C) 1985-1987, 1993-1995, 1999-2013 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -405,9 +405,9 @@ Each clause looks like (CONDITION BODY...). CONDITION is evaluated
405and, if the value is non-nil, this clause succeeds: 405and, if the value is non-nil, this clause succeeds:
406then the expressions in BODY are evaluated and the last one's 406then the expressions in BODY are evaluated and the last one's
407value is the value of the cond-form. 407value is the value of the cond-form.
408If a clause has one element, as in (CONDITION), then the cond-form
409returns CONDITION's value, if that is non-nil.
408If no clause succeeds, cond returns nil. 410If no clause succeeds, cond returns nil.
409If a clause has one element, as in (CONDITION),
410CONDITION's value if non-nil is returned from the cond-form.
411usage: (cond CLAUSES...) */) 411usage: (cond CLAUSES...) */)
412 (Lisp_Object args) 412 (Lisp_Object args)
413{ 413{