]> git.eshelyaron.com Git - emacs.git/commitdiff
(describe-text-mode): Add font-lock-defontify to change-major-mode-hook.
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 2002 16:45:42 +0000 (16:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 2002 16:45:42 +0000 (16:45 +0000)
lisp/descr-text.el

index 525e06e4a37ce0b2f16d51277a387df400f37f82..5ef3a2990d87bbd7217a3a3e347574090302c063 100644 (file)
@@ -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.