diff options
author | Tom Tromey <[email protected]> | 1999-03-29 07:35:55 +0000 |
---|---|---|
committer | Tom Tromey <[email protected]> | 1999-03-29 07:35:55 +0000 |
commit | c076faabba8ca19a60111cf0d735c066ebb58f22 (patch) | |
tree | c6d13dd0d14c182eed6d7dc5fcc1939865d98015 /lisp/progmodes/tcl.el | |
parent | 481f397bac7451c06e25a8aea4599d564929a766 (diff) |
(tcl-using-emacs-19-23): Recognize Emacs 20.
Diffstat (limited to 'lisp/progmodes/tcl.el')
-rw-r--r-- | lisp/progmodes/tcl.el | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index c2122be21c..8f29da489c 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el @@ -1,12 +1,12 @@ ;; tcl.el --- Tcl code editing commands for Emacs -;; Copyright (C) 1994, 1998 Free Software Foundation, Inc. +;; Copyright (C) 1994, 1998, 1999 Free Software Foundation, Inc. ;; Maintainer: Tom Tromey <[email protected]> ;; Author: Tom Tromey <[email protected]> ;; Chris Lindblad <[email protected]> ;; Keywords: languages tcl modes -;; Version: $Revision: 1.51 $ +;; Version: $Revision: 1.52 $ ;; This file is part of GNU Emacs. @@ -51,7 +51,7 @@ ;; LCD Archive Entry: ;; tcl|Tom Tromey|[email protected]| ;; Major mode for editing Tcl| -;; $Date: 1996/09/12 17:02:52 $|$Revision: 1.51 $|~/modes/tcl.el.Z| +;; $Date: 1998/07/02 17:47:49 $|$Revision: 1.52 $|~/modes/tcl.el.Z| ;; CUSTOMIZATION NOTES: ;; * tcl-proc-list can be used to customize a list of things that @@ -65,6 +65,11 @@ ;; Change log: ;; $Log: tcl.el,v $ +;; Revision 1.52 1998/07/02 17:47:49 tromey +;; Some itcl additions: +;; (tcl-typeword-list): Added private, itk_option. +;; (tcl-proc-list): Added body, configbody, class. +;; ;; Revision 1.51 1996/09/12 17:02:52 tromey ;; (tcl-indent-command): Use insert-tab, not self-insert-command. ;; @@ -356,7 +361,8 @@ ;; FIXME this will break on Emacs 19.100. (defconst tcl-using-emacs-19-23 - (string-match "19\\.\\(2[3-9]\\|[3-9][0-9]\\)" emacs-version) + (or (string-match "19\\.\\(2[3-9]\\|[3-9][0-9]\\)" emacs-version) + (string-match "^20\\." emacs-version)) "Nil unless using Emacs 19-23 or later.") (defconst tcl-using-xemacs-19 (string-match "XEmacs" emacs-version) @@ -373,7 +379,7 @@ (require 'imenu)) ())) -(defconst tcl-version "$Revision: 1.51 $") +(defconst tcl-version "$Revision: 1.52 $") (defconst tcl-maintainer "Tom Tromey <[email protected]>") ;; |