changeset 47379:0c38024f4c40

(describe-text-mode): Add font-lock-defontify to change-major-mode-hook.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Sep 2002 16:45:42 +0000
parents 84e278f2225f
children 05670dbe9339
files lisp/descr-text.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/descr-text.el	Tue Sep 10 16:45:21 2002 +0000
+++ b/lisp/descr-text.el	Tue Sep 10 16:45:42 2002 +0000
@@ -56,6 +56,7 @@
 	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.