emacs-elpa-diffs
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]