changeset 47378:84e278f2225f

(ibuffer-mode): Add font-lock-defontify to change-major-mode-hook.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Sep 2002 16:45:21 +0000
parents 5ce6684c420c
children 0c38024f4c40
files lisp/ibuffer.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuffer.el	Tue Sep 10 16:44:58 2002 +0000
+++ b/lisp/ibuffer.el	Tue Sep 10 16:45:21 2002 +0000
@@ -2417,6 +2417,7 @@
   (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))