From bac0089fb8b15b71bd4bde00f6fd8e1c4b9fbd1d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 1 Mar 2021 22:41:42 +0100 Subject: [PATCH] Fix previous completion-pcm--optimize-pattern fix * lisp/minibuffer.el (completion-pcm--optimize-pattern): Re-fix previous change. --- lisp/minibuffer.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index cd81f0f7286..55825e32fcd 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -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 -- 2.39.2