From 2ff6a7f1850e3d7775259fc8cb1680604e7dd57c Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 8 Aug 2024 13:19:59 +0200 Subject: [PATCH] ; * lisp/emacs-lisp/cond-star.el: Minor cleanup. --- lisp/emacs-lisp/cond-star.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) -- 2.39.2