summaryrefslogtreecommitdiff
path: root/lisp/ibuffer.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-09-10 16:45:21 +0000
committerRichard M. Stallman <rms@gnu.org>2002-09-10 16:45:21 +0000
commit214fee7a846e07a0b7a572f92fc1d2a1b261741e (patch)
tree2fcec324d016d984996ac9807647e84a1b559d4e /lisp/ibuffer.el
parent3dd4c1c5af3cdf77ba98b7255ec4034051107c6f (diff)
downloademacs-214fee7a846e07a0b7a572f92fc1d2a1b261741e.tar.gz
(ibuffer-mode): Add font-lock-defontify to change-major-mode-hook.
Diffstat (limited to 'lisp/ibuffer.el')
-rw-r--r--lisp/ibuffer.el1
1 files changed, 1 insertions, 0 deletions
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))