; * lisp/emacs-lisp/pcase.el (pcase-exhaustive): Doc fix.

This commit is contained in:
Eli Zaretskii 2026-05-02 13:10:33 +03:00
parent e575817e8f
commit 25659d5a75

View file

@ -228,10 +228,9 @@ Emacs Lisp manual for more information and examples."
;;;###autoload
(defmacro pcase-exhaustive (exp &rest cases)
"The exhaustive version of `pcase' (which see).
If EXP fails to match any of the patterns in CASES, an error is
signaled.
If EXP fails to match any of the patterns in CASES, signal an error.
In contrast, `pcase' will return nil if there is no match, but
In contrast, `pcase' will return nil if there is no match, but will
not signal an error."
(declare (indent 1) (debug pcase))
(let* ((x (gensym "x"))