]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-mode): Add font-lock-defontify to change-major-mode-hook.
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 2002 16:44:37 +0000 (16:44 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 2002 16:44:37 +0000 (16:44 +0000)
lisp/info.el

index e9db86387681939eec76340a1e2d21e8eea22d69..560c6bfc7c12894878cd266639eeb7ff755334e7 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))