[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct 236e03fd5e 08/64: Install advice to silence message
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct 236e03fd5e 08/64: Install advice to silence messages in region |
Date: |
Thu, 30 Dec 2021 23:57:50 -0500 (EST) |
branch: externals/mct
commit 236e03fd5ebbd58c6241a9249254edc64c0bf06f
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Install advice to silence messages in region
Thanks to Daniel Mendler for suggesting as much:
<https://github.com/protesilaos/mct/commit/c79f8c86c9b6773994c53d15621a00c4b4752ac7#r61449589>.
---
mct.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mct.el b/mct.el
index f9416e088b..27ae595b4d 100644
--- a/mct.el
+++ b/mct.el
@@ -1211,6 +1211,7 @@ Meant to be added to `after-change-functions'."
(add-hook 'completion-list-mode-hook #'mct--setup-completion-list)
(add-hook 'completion-in-region-mode-hook
#'mct--region-setup-completion-in-region)
(advice-add #'display-completion-list :around
#'mct--display-completion-list-advice)
+ (advice-add #'minibuffer-message :around #'mct--honor-inhibit-message)
;; TODO 2021-12-03: Set up a keymap after we are sure things work.
(let ((map completion-in-region-mode-map))
(define-key map (kbd "C-n") #'mct-switch-to-completions-top)
@@ -1219,6 +1220,7 @@ Meant to be added to `after-change-functions'."
(remove-hook 'completion-list-mode-hook #'mct--setup-completion-list)
(remove-hook 'completion-in-region-mode-hook
#'mct--region-setup-completion-in-region)
(advice-remove #'display-completion-list
#'mct--display-completion-list-advice)
+ (advice-remove #'minibuffer-message #'mct--honor-inhibit-message)
(let ((map completion-in-region-mode-map))
(define-key map (kbd "C-n") nil)
(define-key map (kbd "C-p") nil))))
- [elpa] externals/mct 6a1835cf00 48/64: Remove mct--region-buf, (continued)
- [elpa] externals/mct 6a1835cf00 48/64: Remove mct--region-buf, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 771fb8b3cb 54/64: Make in-region prev motion work at all times, ELPA Syncer, 2021/12/30
- [elpa] externals/mct e4b49f40f1 58/64: Add TODO about local mct-region-mode, ELPA Syncer, 2021/12/30
- [elpa] externals/mct a6dac17d1c 59/64: Review mct--region-p for buffer-local mode, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 59431a2622 61/64: Provide global variant of mct-region-mode, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 9e81e4425a 64/64: Complete key bindings of next/prev group motions, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 740d9f5d7d 01/64: Do not bind while-no-input-ignore-events, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 0c575c23c4 04/64: Add TODO: mct-region-mode could be buffer local, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 2413746369 11/64: Merge 'main' into experiment-completion-in-region, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 90aa42f432 13/64: Style the completions regardless of mct variant, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 236e03fd5e 08/64: Install advice to silence messages in region,
ELPA Syncer <=
- [elpa] externals/mct 8958528d2e 21/64: Merge branch 'main' into experiment-completion-in-region, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 53dc6be137 20/64: Write routines for next/prev/directional motions, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 639add9b8e 25/64: Merge 'main' into experiment-completion-in-region, ELPA Syncer, 2021/12/30
- [elpa] externals/mct eaf0f98d55 26/64: Merge branch 'main' into experiment-completion-in-region, ELPA Syncer, 2021/12/30
- [elpa] externals/mct d48e6baae5 27/64: Minor correction in outline heading, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 6bbad9f046 31/64: Remove outdated FIXME, ELPA Syncer, 2021/12/30
- [elpa] externals/mct ca958cba65 32/64: Remove comments on quirky behaviour, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 29015a1699 37/64: Fix performance issues by avoiding recursion, ELPA Syncer, 2021/12/30
- [elpa] externals/mct d45cf4ee26 30/64: Handle current buffer of in-region completion, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 95a37bc66d 36/64: Merge 'main' into experiment-completion-in-region, ELPA Syncer, 2021/12/30