]> code.delx.au - gnu-emacs/commitdiff
(ibuffer-mode): Add font-lock-defontify to change-major-mode-hook.
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 2002 16:45:21 +0000 (16:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 2002 16:45:21 +0000 (16:45 +0000)
lisp/ibuffer.el

index 0f6497c41057007b17fa70a6752b0919d82d4269..6c9bda89bd69991be1329dd9587fc0d81966faad 100644 (file)
@@ -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))