[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct ccce90d 08/70: Make line number selection always ex
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct ccce90d 08/70: Make line number selection always exit minibuffer |
Date: |
Thu, 11 Nov 2021 03:57:41 -0500 (EST) |
branch: externals/mct
commit ccce90db876256cf04216f2f9e8637c79ddafa84
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make line number selection always exit minibuffer
This avoids problems with dynamic completion, such as when inserting a
directory in find-file. We want to select it and exit, not continue
typing. Otherwise mct--line-completion will need to be refactored to
account for dynamic completion (how?) and for completing-read-multiple.
---
mct.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mct.el b/mct.el
index 9112987..e457057 100644
--- a/mct.el
+++ b/mct.el
@@ -452,7 +452,7 @@ minibuffer."
(with-current-buffer (window-buffer (mct--get-completion-window))
(goto-char (point-min))
(forward-line (1- n))
- (choose-completion)))
+ (mct-choose-completion-exit)))
(defun mct--line-bounds (n)
"Test if Nth line is in the buffer."
- [elpa] externals/mct 1b0ab0b 21/70: Untabify and re-indent, (continued)
- [elpa] externals/mct 1b0ab0b 21/70: Untabify and re-indent, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 5c0e138 22/70: Recompile texi/info manuald, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 45c272e 25/70: Add a .dir-locals.el file, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 295bac0 28/70: Generate mct.info and mct.texi using a Makefile, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 789174f 31/70: Update sample code with useful built-in extras, ELPA Syncer, 2021/11/11
- [elpa] externals/mct a55130a 06/70: Avoid hardcoding the "Completions" string, ELPA Syncer, 2021/11/11
- [elpa] externals/mct b392b0b 15/70: Allow for completions-format to be configured by the user, ELPA Syncer, 2021/11/11
- [elpa] externals/mct c36c7e8 11/70: Add new option mct-live-completion, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 1084f58 16/70: Clarify mct-live-completion doc string, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 310cc42 01/70: Initial commit, ELPA Syncer, 2021/11/11
- [elpa] externals/mct ccce90d 08/70: Make line number selection always exit minibuffer,
ELPA Syncer <=
- [elpa] externals/mct 436b24e 13/70: Allow customizing how the Completions buffer is displayed, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 9e0d523 18/70: Change default value of mct-display-buffer-action, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 51c1e17 23/70: Reuse existing Completions' before re-displaying, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 0d98ba7 30/70: Include mct-display-buffer-action in the manual, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 08f806e 29/70: Do not set completions-detailed, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 25f876c 34/70: Do not use line-based completion in grid views, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 8522a67 38/70: Add mct-choose-completion-no-exit command, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 2e8c44a 40/70: Tweak mct-beginning-of-buffer, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 099e204 42/70: Make mct-choose-completion-dwim never exit, ELPA Syncer, 2021/11/11
- [elpa] externals/mct be15b4b 44/70: Re-order mct-completion-list-mode-map, ELPA Syncer, 2021/11/11