From: Richard Stallman Date: Wed, 8 Jan 2025 13:26:40 +0000 (-0500) Subject: Add autoload cookie and doc fix X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=71d681cdcb35e0f4fb19038e92ecb8e72a9e4c66;p=emacs.git Add autoload cookie and doc fix cond-star.el (cond*): Add autoload cookie. Doc fix. (cherry picked from commit 2a3385ab50c2f7281812b8fb582bcdba899f5f47) --- diff --git a/lisp/emacs-lisp/cond-star.el b/lisp/emacs-lisp/cond-star.el index 90a359d6dc5..e0d4c594741 100644 --- a/lisp/emacs-lisp/cond-star.el +++ b/lisp/emacs-lisp/cond-star.el @@ -40,6 +40,7 @@ (require 'cl-lib) ; for cl-assert +;;;###autoload (defmacro cond* (&rest clauses) "Extended form of traditional Lisp `cond' construct. A `cond*' construct is a series of clauses, and a clause @@ -70,11 +71,12 @@ in its body becomes the return value of the `cond*' construct. 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." +a `bind*' clause, this clause never exits the `cond*' construct. +Instead, control always falls through to the next clause (if any). +All 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*'." (cond*-convert clauses)) (defmacro match* (pattern _datum)