[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 beed746f94: Fix completion when completion-auto-select is set
From: |
Gregory Heytings |
Subject: |
emacs-29 beed746f94: Fix completion when completion-auto-select is set |
Date: |
Thu, 29 Dec 2022 16:52:50 -0500 (EST) |
branch: emacs-29
commit beed746f944aba2559192c057ea294233876e99d
Author: Gregory Heytings <gregory@heytings.org>
Commit: Gregory Heytings <gregory@heytings.org>
Fix completion when completion-auto-select is set
* lisp/minibuffer.el (completion--do-completion): Do not display
"Complete, but not unique" messages when completion-auto-select is
set. Fixes bug#60359.
---
lisp/minibuffer.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 6e42296e7b..7a720cf2c0 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -1474,7 +1474,10 @@ when the buffer's text is already an exact match."
(if (and (eq this-command last-command) completion-auto-help)
(minibuffer-completion-help beg end))
(completion--done completion 'exact
- (unless expect-exact
+ (unless (or expect-exact
+ (and completion-auto-select
+ (eq this-command last-command)
+ completion-auto-help))
"Complete, but not unique"))))
(minibuffer--bitset completed t exact))))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 beed746f94: Fix completion when completion-auto-select is set,
Gregory Heytings <=