comparison lisp/info.el @ 47376:05b10b9cd8bb

(Info-mode): Add font-lock-defontify to change-major-mode-hook.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Sep 2002 16:44:37 +0000
parents 94b3c6a53104
children c460856d1bfd
comparison
equal deleted inserted replaced
47375:fe8ca2be9fde 47376:05b10b9cd8bb
2350 (set (make-local-variable 'tool-bar-map) info-tool-bar-map) 2350 (set (make-local-variable 'tool-bar-map) info-tool-bar-map)
2351 ;; This is for the sake of the invisible text we use handling titles. 2351 ;; This is for the sake of the invisible text we use handling titles.
2352 (make-local-variable 'line-move-ignore-invisible) 2352 (make-local-variable 'line-move-ignore-invisible)
2353 (setq line-move-ignore-invisible t) 2353 (setq line-move-ignore-invisible t)
2354 (add-hook 'clone-buffer-hook 'Info-clone-buffer-hook nil t) 2354 (add-hook 'clone-buffer-hook 'Info-clone-buffer-hook nil t)
2355 (add-hook 'change-major-mode-hook 'font-lock-defontify nil t)
2355 (Info-set-mode-line) 2356 (Info-set-mode-line)
2356 (run-hooks 'Info-mode-hook)) 2357 (run-hooks 'Info-mode-hook))
2357 2358
2358 (defun Info-clone-buffer-hook () 2359 (defun Info-clone-buffer-hook ()
2359 (when (bufferp Info-tag-table-buffer) 2360 (when (bufferp Info-tag-table-buffer)