From: Richard M. Stallman Date: Tue, 10 Sep 2002 16:44:37 +0000 (+0000) Subject: (Info-mode): Add font-lock-defontify to change-major-mode-hook. X-Git-Tag: ttn-vms-21-2-B4~13263 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3d12b3310ae14d61aaffefcc69f054f0f272118b;p=emacs.git (Info-mode): Add font-lock-defontify to change-major-mode-hook. --- diff --git a/lisp/info.el b/lisp/info.el index e9db8638768..560c6bfc7c1 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -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))