[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct 3395201 1/2: Fix for mct-complete-and-exit: don't c
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct 3395201 1/2: Fix for mct-complete-and-exit: don't complete twice |
Date: |
Tue, 16 Nov 2021 17:57:24 -0500 (EST) |
branch: externals/mct
commit 33952012cffd2141e35a08d6a35e89250cc44c32
Author: jao <jao@gnu.org>
Commit: jao <jao@gnu.org>
Fix for mct-complete-and-exit: don't complete twice
We don't need to call minibuffer-complete-and-exit to exit the
minibuffer, since this is happening after mct-edit-completion.
Moreover, trying to complete here breaks read-string when RET is
rebound to mct-complete-and-exit.
---
mct.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mct.el b/mct.el
index 89d14f8..01e6f36 100644
--- a/mct.el
+++ b/mct.el
@@ -824,7 +824,7 @@ This is the same as with
followed by exiting the minibuffer with that candidate."
(interactive nil mct-mode)
(mct-edit-completion)
- (minibuffer-complete-and-exit))
+ (exit-minibuffer))
;;;;; Miscellaneous commands
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/mct 3395201 1/2: Fix for mct-complete-and-exit: don't complete twice,
ELPA Syncer <=