aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/pcase.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el
index c565687896a..4804180ac9b 100644
--- a/lisp/emacs-lisp/pcase.el
+++ b/lisp/emacs-lisp/pcase.el
@@ -872,7 +872,7 @@ Otherwise, it defers to REST which is a list of branches of the form
872 (if (not v) 872 (if (not v)
873 (pcase--u1 matches code (cons (list upat sym) vars) rest) 873 (pcase--u1 matches code (cons (list upat sym) vars) rest)
874 ;; Non-linear pattern. Turn it into an `eq' test. 874 ;; Non-linear pattern. Turn it into an `eq' test.
875 (setq (cddr v) 'used) 875 (setcdr (cdr v) 'used)
876 (pcase--u1 (cons `(match ,sym . (pred (eql ,(cadr v)))) 876 (pcase--u1 (cons `(match ,sym . (pred (eql ,(cadr v))))
877 matches) 877 matches)
878 code vars rest)))) 878 code vars rest))))