From 7d6d14023a4ad7907c6e10ebdb49d78f9c6393e4 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 8 Jul 2021 03:23:46 +0200 Subject: [PATCH] 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 68f8cc50549..37b88b318de 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." -- 2.39.2