diff options
author | Eli Zaretskii <eliz@gnu.org> | 2024-02-20 19:15:38 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-02-20 19:15:38 +0200 |
commit | 2eb85a9de1a5068d09b21464601dbd3263e55c85 (patch) | |
tree | c6e7f9931edf190c110095498e0b81ee2562d216 | |
parent | 4c6653f23aef097e3a6ed687e21decea6c790b5e (diff) | |
download | emacs-2eb85a9de1a5068d09b21464601dbd3263e55c85.tar.gz |
; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Another doc fix.
-rw-r--r-- | lisp/emacs-lisp/pcase.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el index 692c8f9b3fe..ff68203eaea 100644 --- a/lisp/emacs-lisp/pcase.el +++ b/lisp/emacs-lisp/pcase.el @@ -261,8 +261,8 @@ As with `pcase-let', BINDINGS are of the form (PATTERN EXP), but the EXP in each binding in BINDINGS can use the results of the destructuring bindings that precede it in BINDINGS' order. -Each EXP should match (i.e. be of compatible structure) its -respective PATTERN; a mismatch may signal an error or may go +Each EXP should match its respective PATTERN (i.e. be of structure +compatible to PATTERN); a mismatch may signal an error or may go undetected, binding variables to arbitrary values, such as nil." (declare (indent 1) (debug ((&rest (pcase-PAT &optional form)) body))) @@ -283,8 +283,8 @@ All EXPs are evaluated first, and then used to perform destructuring bindings by matching each EXP against its respective PATTERN. Then BODY is evaluated with those bindings in effect. -Each EXP should match (i.e. be of compatible structure) its -respective PATTERN; a mismatch may signal an error or may go +Each EXP should match its respective PATTERN (i.e. be of structure +compatible to PATTERN); a mismatch may signal an error or may go undetected, binding variables to arbitrary values, such as nil." (declare (indent 1) (debug pcase-let*)) (if (null (cdr bindings)) |