|
From: | Juri Linkov |
Subject: | bug#44629: 28.0.50; Eglot noisy with gfm-view-mode and view-read-only |
Date: | Sun, 15 Nov 2020 22:27:21 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> Can what you want be achieved by setting set-message-function to > something suitable? Inhibiting messages selectively was discussed in bug#42865 where I forgot that this is indeed easily implementable with the help of set-message-function, e.g.: (defcustom inhibit-message-regexp "^View mode: type" "Regexp to inhibit messages." :type 'regexp) (defun inhibit-message-function (message) (string-match-p inhibit-message-regexp message)) (setq set-message-function 'inhibit-message-function)
[Prev in Thread] | Current Thread | [Next in Thread] |