From f0397cde4bd5abc4e459bf061f0910f2fcca4024 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 10 Sep 2002 16:45:42 +0000 Subject: [PATCH] (describe-text-mode): Add font-lock-defontify to change-major-mode-hook. --- lisp/descr-text.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/descr-text.el b/lisp/descr-text.el index 525e06e4a37..5ef3a2990d8 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el @@ -56,6 +56,7 @@ if that value is non-nil." mode-name "Describe-Text") (use-local-map describe-text-mode-map) (widget-setup) + (add-hook 'change-major-mode-hook 'font-lock-defontify nil t) (run-hooks 'describe-text-mode-hook)) ;;; Describe-Text Utilities.