[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct 1105ec2410 2/8: Reorder some helper functions
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct 1105ec2410 2/8: Reorder some helper functions |
Date: |
Wed, 12 Jan 2022 06:57:51 -0500 (EST) |
branch: externals/mct
commit 1105ec2410c73f0db5dbe4d5959273cdbf463475
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Reorder some helper functions
---
mct.el | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/mct.el b/mct.el
index da6f9109f1..0acf479be8 100644
--- a/mct.el
+++ b/mct.el
@@ -904,19 +904,6 @@ this command is then required to abort the session."
(let ((minibuffer-message-timeout 0))
(apply app)))
-;; Copied from Daniel Mendler's `vertico' library:
-;; <https://github.com/minad/vertico>.
-(defun mct--crm-indicator (args)
- "Add prompt indicator to `completing-read-multiple' filter ARGS."
- (cons (concat "[CRM] " (car args)) (cdr args)))
-
-;; Adapted from Omar Antolín Camarena's live-completions library:
-;; <https://github.com/oantolin/live-completions>.
-(defun mct--honor-inhibit-message (&rest app)
- "Honor `inhibit-message' while applying APP."
- (unless inhibit-message
- (apply app)))
-
;; Note that this solves bug#45686:
;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45686>
(defun mct--stealthily (&rest app)
@@ -925,6 +912,13 @@ Apply APP while inhibiting modification hooks."
(let ((inhibit-modification-hooks t))
(apply app)))
+;; Adapted from Omar Antolín Camarena's live-completions library:
+;; <https://github.com/oantolin/live-completions>.
+(defun mct--honor-inhibit-message (&rest app)
+ "Honor `inhibit-message' while applying APP."
+ (unless inhibit-message
+ (apply app)))
+
(defun mct--setup-messageless-shared ()
"Silence the minibuffer and the Completions."
(if (or mct-region-mode mct-minibuffer-mode)
@@ -954,6 +948,12 @@ Apply APP while inhibiting modification hooks."
(mct--add-stripes)
(mct--remove-stripes)))
+;; Copied from Daniel Mendler's `vertico' library:
+;; <https://github.com/minad/vertico>.
+(defun mct--crm-indicator (args)
+ "Add prompt indicator to `completing-read-multiple' filter ARGS."
+ (cons (concat "[CRM] " (car args)) (cdr args)))
+
;;;;; Shadowed path
;; Adapted from icomplete.el
- [elpa] externals/mct updated (ee21c1761b -> fd3e7fd573), ELPA Syncer, 2022/01/12
- [elpa] externals/mct 95ea4d383a 1/8: Initial refinements to mct-region-mode, ELPA Syncer, 2022/01/12
- [elpa] externals/mct 4d90b7e1d6 4/8: Use when-let to check for timer delay, ELPA Syncer, 2022/01/12
- [elpa] externals/mct 36c25ea458 7/8: Finish mode isolation, ELPA Syncer, 2022/01/12
- [elpa] externals/mct 3e022db770 6/8: Minor rewording to doc string, ELPA Syncer, 2022/01/12
- [elpa] externals/mct d1f6fe3a6c 5/8: Rename mct--active-p to mct--minibuffer-p, ELPA Syncer, 2022/01/12
- [elpa] externals/mct 1105ec2410 2/8: Reorder some helper functions,
ELPA Syncer <=
- [elpa] externals/mct fd3e7fd573 8/8: Update copyright years, ELPA Syncer, 2022/01/12
- [elpa] externals/mct 2c2ec0f704 3/8: Refine type of mct-region-completions-format, ELPA Syncer, 2022/01/12