From 3d12b3310ae14d61aaffefcc69f054f0f272118b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 10 Sep 2002 16:44:37 +0000 Subject: [PATCH] (Info-mode): Add font-lock-defontify to change-major-mode-hook. --- lisp/info.el | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.39.5