[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct 9c68da912b 52/64: Simplify mct--setup-clean-complet
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct 9c68da912b 52/64: Simplify mct--setup-clean-completions |
Date: |
Thu, 30 Dec 2021 23:58:00 -0500 (EST) |
branch: externals/mct
commit 9c68da912bde44f9605b16c22abbf366ae3d2cbe
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Simplify mct--setup-clean-completions
See issue 15: <https://gitlab.com/protesilaos/mct/-/issues/15>.
---
mct.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/mct.el b/mct.el
index fd57d83ae0..c415cd981a 100644
--- a/mct.el
+++ b/mct.el
@@ -220,9 +220,7 @@ See `completions-format' for possible values."
(defun mct--setup-clean-completions ()
"Keep only completion candidates in the Completions."
(with-current-buffer standard-output
- (if (>= emacs-major-version 29) ; TODO 2021-12-29: maybe use 28?
- (goto-char (mct--first-completion-point))
- (goto-char (point-min)))
+ (goto-char (point-min))
(unless (mct--completions-completion-p)
(let ((inhibit-read-only t))
(delete-region (point-at-bol) (1+ (point-at-eol)))
- [elpa] externals/mct e617bfd0aa 45/64: Remove mct--quit-completion-in-region, (continued)
- [elpa] externals/mct e617bfd0aa 45/64: Remove mct--quit-completion-in-region, ELPA Syncer, 2021/12/30
- [elpa] externals/mct f1b1a5c76e 46/64: Remove mct-choose-completion-in-region, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 7974ae0450 40/64: Remove needless call to fit completions to window, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 14059afa44 41/64: Make mct-region-mode advice completions window, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 13839537f2 29/64: Remove outdated comment, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 5c8fbb1784 51/64: Simplify mct-choose-completion-no-exit, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 8d02ae3a6c 55/64: Tweak the mct-region-completion-list-mode-map, ELPA Syncer, 2021/12/30
- [elpa] externals/mct d3dbb61e89 56/64: Merge 'main' into experiment-completion-in-region, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 93de87bb9f 57/64: Setup the region buffer map, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 98d5cc7095 62/64: Remove debug function for completion in region, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 9c68da912b 52/64: Simplify mct--setup-clean-completions,
ELPA Syncer <=
- [elpa] externals/mct 3f90353233 53/64: Make mct--setup-clean-completions more robust, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 2bb0e25549 63/64: Placate the ever-pedantic compiler, ELPA Syncer, 2021/12/30
- [elpa] externals/mct c72eb363ba 35/64: Add fn to terminate region completion (hopefully), ELPA Syncer, 2021/12/30
- [elpa] externals/mct fd33ea240e 38/64: Reinstate orderless support (needs a defcustom), ELPA Syncer, 2021/12/30
- [elpa] externals/mct 90d07f5d3e 47/64: Remove mct--completions-choose-completion, ELPA Syncer, 2021/12/30
- [elpa] externals/mct b79b383d1f 60/64: Fix a6dac17, ELPA Syncer, 2021/12/30