(Info-mode): Add font-lock-defontify to change-major-mode-hook.
[bpt/emacs.git] / lisp / info.el
index e9db863..560c6bf 100644 (file)
@@ -2352,6 +2352,7 @@ Advanced commands:
   (make-local-variable 'line-move-ignore-invisible)
   (setq line-move-ignore-invisible t)
   (add-hook 'clone-buffer-hook 'Info-clone-buffer-hook nil t)
+  (add-hook 'change-major-mode-hook 'font-lock-defontify nil t)
   (Info-set-mode-line)
   (run-hooks 'Info-mode-hook))