]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix previous completion-pcm--optimize-pattern fix
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 1 Mar 2021 21:41:42 +0000 (22:41 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 1 Mar 2021 21:41:42 +0000 (22:41 +0100)
* lisp/minibuffer.el (completion-pcm--optimize-pattern): Re-fix
previous change.

lisp/minibuffer.el

index cd81f0f7286fe95ef0db93f2a9758a57f063d67e..55825e32fcd9463c289af6cfe1a677f217e2f765 100644 (file)
@@ -3162,7 +3162,7 @@ or a symbol, see `completion-pcm--merge-completions'."
   (let ((n '()))
     (while p
       (pcase p
-        (`(,(or 'any 'any-delim) ,(or 'any 'point))
+        (`(,(or 'any 'any-delim) ,(or 'any 'point) . ,_)
          (setq p (cdr p)))
         ;; This is not just a performance improvement: it turns a
         ;; terminating `point' into an implicit `any', which affects