From: Lars Ingebrigtsen Date: Thu, 8 Jul 2021 01:23:46 +0000 (+0200) Subject: Exclude term-mode from hi-lock global modes X-Git-Tag: emacs-28.0.90~1927 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7d6d14023a4ad7907c6e10ebdb49d78f9c6393e4;p=emacs.git 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). --- 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."