]> git.eshelyaron.com Git - emacs.git/commitdiff
Exclude term-mode from hi-lock global modes
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 8 Jul 2021 01:23:46 +0000 (03:23 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 8 Jul 2021 01:23:46 +0000 (03:23 +0200)
* 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

index 68f8cc5054914000ce1750dd76e99b37539c5f7f..37b88b318de7e47065332c17a6030bcbcc62aa0f 100644 (file)
@@ -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."