emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7d6d140: Exclude term-mode from hi-lock global modes


From: Lars Ingebrigtsen
Subject: master 7d6d140: Exclude term-mode from hi-lock global modes
Date: Wed, 7 Jul 2021 21:24:42 -0400 (EDT)

branch: master
commit 7d6d14023a4ad7907c6e10ebdb49d78f9c6393e4
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Exclude term-mode from hi-lock global modes
    
    * lisp/hi-lock.el (hi-lock-exclude-modes): Exclude term-mode so
    that `C-x' works in terminal buffers (bug#22620).
---
 lisp/hi-lock.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el
index 68f8cc5..37b88b3 100644
--- a/lisp/hi-lock.el
+++ b/lisp/hi-lock.el
@@ -111,7 +111,7 @@ highlighting will be applied throughout the buffer."
   :group 'hi-lock)
 
 (defcustom hi-lock-exclude-modes
-  '(rmail-mode mime/viewer-mode gnus-article-mode)
+  '(rmail-mode mime/viewer-mode gnus-article-mode term-mode)
   "List of major modes in which hi-lock will not run.
 For security reasons since font lock patterns can specify function
 calls."



reply via email to

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