diff options
author | Richard Stallman <rms@gnu.org> | 2025-01-08 08:26:40 -0500 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 2025-01-08 08:26:40 -0500 |
commit | 2a3385ab50c2f7281812b8fb582bcdba899f5f47 (patch) | |
tree | 49f004cc2da0ed0c97634a42bd492bd60919bc99 /lisp/emacs-lisp | |
parent | ac52993b996927031a6913927e1028de47be4312 (diff) | |
download | emacs-2a3385ab50c2f7281812b8fb582bcdba899f5f47.tar.gz emacs-2a3385ab50c2f7281812b8fb582bcdba899f5f47.tar.bz2 emacs-2a3385ab50c2f7281812b8fb582bcdba899f5f47.zip |
Add autoload cookie and doc fix
cond-star.el (cond*): Add autoload cookie.
Doc fix.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/cond-star.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/cond-star.el b/lisp/emacs-lisp/cond-star.el index 58ec12d1474..50566c97e70 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 @@ -68,10 +69,9 @@ 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 +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*'." |