From: Richard M. Stallman Date: Tue, 10 Sep 2002 16:45:42 +0000 (+0000) Subject: (describe-text-mode): Add font-lock-defontify to change-major-mode-hook. X-Git-Tag: ttn-vms-21-2-B4~13260 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f0397cde4bd5abc4e459bf061f0910f2fcca4024;p=emacs.git (describe-text-mode): Add font-lock-defontify to change-major-mode-hook. --- 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.