From 214fee7a846e07a0b7a572f92fc1d2a1b261741e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 10 Sep 2002 16:45:21 +0000 Subject: [PATCH] (ibuffer-mode): Add font-lock-defontify to change-major-mode-hook. --- lisp/ibuffer.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 0f6497c4105..6c9bda89bd6 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -2417,6 +2417,7 @@ will be inserted before the group at point." (ibuffer-update-format) (when ibuffer-default-directory (setq default-directory ibuffer-default-directory)) + (add-hook 'change-major-mode-hook 'font-lock-defontify nil t) (run-hooks 'ibuffer-mode-hooks) ;; called after mode hooks to allow the user to add filters (ibuffer-update-mode-name)) -- 2.39.5