From: Eshel Yaron Date: Thu, 8 Aug 2024 11:19:59 +0000 (+0200) Subject: ; * lisp/emacs-lisp/cond-star.el: Minor cleanup. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ff6a7f1850e3d7775259fc8cb1680604e7dd57c;p=emacs.git ; * lisp/emacs-lisp/cond-star.el: Minor cleanup. --- diff --git a/lisp/emacs-lisp/cond-star.el b/lisp/emacs-lisp/cond-star.el index 6309b0d1a15..686b5a36664 100644 --- a/lisp/emacs-lisp/cond-star.el +++ b/lisp/emacs-lisp/cond-star.el @@ -34,7 +34,7 @@ (defmacro cond* (&rest clauses) "Extended form of traditional Lisp `cond' construct. -A `cond*' construct is a series of clauses, and a clause +A `cond*' construct is a series of CLAUSES, and a clause normally has the form (CONDITION BDOY...). CONDITION can be a Lisp expression, as in `cond'. @@ -48,20 +48,20 @@ unconditionally for whatever scope they cover. `(match* PATTERN DATUM)' means to match DATUM against the pattern PATTERN The condition counts as true if PATTERN matches DATUM. +See `match*' for documentation of the patterns for use in such clauses. + When a clause's condition is true, and it exits the `cond*' or is the last clause, the value of the last expression in its body becomes the return value of the `cond*' construct. -Mon-exit clause: +Non-exit clause: If a clause has only one element, or if its first element is t, or if it ends with the keyword :non-exit, then this clause never exits the `cond*' construct. Instead, control falls through to the next clause (if any). The bindings made in CONDITION for the BODY of the non-exit clause -are passed along to the rest of the clauses in this `cond*' construct. - -\\[match*\\] for documentation of the patterns for use in `match*'." +are passed along to the rest of the clauses in this `cond*' construct." (cond*-convert clauses)) (defmacro match* (pattern datum)