From 2e4d8e503e9ce2d9675ab4b4f740cf53fb4bf4ff Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 18 Jul 1999 18:40:27 +0000 Subject: [PATCH] (tcl-mode): Set font-lock-defaults, not font-lock-keywords. --- lisp/progmodes/tcl.el | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index a0fc5cab99a..624db27bfbe 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el @@ -6,7 +6,7 @@ ;; Author: Tom Tromey ;; Chris Lindblad ;; Keywords: languages tcl modes -;; Version: $Revision: 1.54 $ +;; Version: $Revision: 1.55 $ ;; This file is part of GNU Emacs. @@ -51,7 +51,7 @@ ;; LCD Archive Entry: ;; tcl|Tom Tromey|tromey@busco.lanl.gov| ;; Major mode for editing Tcl| -;; $Date: 1999/07/18 05:19:57 $|$Revision: 1.54 $|~/modes/tcl.el.Z| +;; $Date: 1999/07/18 05:21:33 $|$Revision: 1.55 $|~/modes/tcl.el.Z| ;; CUSTOMIZATION NOTES: ;; * tcl-proc-list can be used to customize a list of things that @@ -65,6 +65,9 @@ ;; Change log: ;; $Log: tcl.el,v $ +;; Revision 1.55 1999/07/18 05:21:33 tromey +;; (tcl-proc-list): Reverted; already had `body'. +;; ;; Revision 1.54 1999/07/18 05:19:57 tromey ;; (tcl-proc-list): Added `body'. ;; @@ -385,7 +388,7 @@ (require 'imenu)) ())) -(defconst tcl-version "$Revision: 1.54 $") +(defconst tcl-version "$Revision: 1.55 $") (defconst tcl-maintainer "Tom Tromey ") ;; @@ -1001,8 +1004,9 @@ Commands: (make-local-variable 'outline-level) (setq outline-level 'tcl-outline-level) - (make-local-variable 'font-lock-keywords) - (setq font-lock-keywords tcl-font-lock-keywords) + (make-local-variable 'font-lock-defaults) + (setq font-lock-defaults + '(tcl-font-lock-keywords)) ;; The following only really makes sense under GNU Emacs 19. (make-local-variable 'imenu-create-index-function) -- 2.39.5