changeset 45707:1ad70e69b4ba

(Info-mode): Do set `font-lock-defaults', and be sure to set `font-lock-core-only'.
author Colin Walters <walters@gnu.org>
date Sun, 09 Jun 2002 00:18:15 +0000
parents 695ea9cce74e
children 148691ba23f9
files lisp/info.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Sun Jun 09 00:17:17 2002 +0000
+++ b/lisp/info.el	Sun Jun 09 00:18:15 2002 +0000
@@ -2336,6 +2336,8 @@
   (setq local-abbrev-table text-mode-abbrev-table)
   (setq case-fold-search t)
   (setq buffer-read-only t)
+  (set (make-local-variable 'font-lock-defaults)
+       '(nil t nil nil nil (font-lock-core-only . t)))
   (make-local-variable 'Info-current-file)
   (make-local-variable 'Info-current-subfile)
   (make-local-variable 'Info-current-node)