]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Tue, 20 Feb 2024 13:44:13 +0000 (15:44 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:37:07 +0000 (18:37 +0100)
(cherry picked from commit 4c6653f23aef097e3a6ed687e21decea6c790b5e)

lisp/emacs-lisp/pcase.el

index ae9bd87997c6107159cdaba132d65e272502fb28..603a09c702f052a5d9e2f9d56b6036870e8d7e87 100644 (file)
@@ -285,7 +285,7 @@ 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) to its
+Each EXP should match (i.e. be of compatible structure) its
 respective PATTERN; a mismatch may signal an error or may go
 undetected, binding variables to arbitrary values, such as nil."
   (declare (indent 1)
@@ -307,7 +307,7 @@ 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) to its
+Each EXP should match (i.e. be of compatible structure) its
 respective 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*))