diff options
| author | Tom Tromey | 1999-03-29 07:35:55 +0000 |
|---|---|---|
| committer | Tom Tromey | 1999-03-29 07:35:55 +0000 |
| commit | c076faabba8ca19a60111cf0d735c066ebb58f22 (patch) | |
| tree | c6d13dd0d14c182eed6d7dc5fcc1939865d98015 | |
| parent | 481f397bac7451c06e25a8aea4599d564929a766 (diff) | |
| download | emacs-c076faabba8ca19a60111cf0d735c066ebb58f22.tar.gz emacs-c076faabba8ca19a60111cf0d735c066ebb58f22.zip | |
(tcl-using-emacs-19-23): Recognize Emacs 20.
| -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 c2122be21cf..8f29da489c7 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | ;; tcl.el --- Tcl code editing commands for Emacs | 1 | ;; tcl.el --- Tcl code editing commands for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 1998 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 1998, 1999 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Maintainer: Tom Tromey <tromey@busco.lanl.gov> | 5 | ;; Maintainer: Tom Tromey <tromey@busco.lanl.gov> |
| 6 | ;; Author: Tom Tromey <tromey@busco.lanl.gov> | 6 | ;; Author: Tom Tromey <tromey@busco.lanl.gov> |
| 7 | ;; Chris Lindblad <cjl@lcs.mit.edu> | 7 | ;; Chris Lindblad <cjl@lcs.mit.edu> |
| 8 | ;; Keywords: languages tcl modes | 8 | ;; Keywords: languages tcl modes |
| 9 | ;; Version: $Revision: 1.51 $ | 9 | ;; Version: $Revision: 1.52 $ |
| 10 | 10 | ||
| 11 | ;; This file is part of GNU Emacs. | 11 | ;; This file is part of GNU Emacs. |
| 12 | 12 | ||
| @@ -51,7 +51,7 @@ | |||
| 51 | ;; LCD Archive Entry: | 51 | ;; LCD Archive Entry: |
| 52 | ;; tcl|Tom Tromey|tromey@busco.lanl.gov| | 52 | ;; tcl|Tom Tromey|tromey@busco.lanl.gov| |
| 53 | ;; Major mode for editing Tcl| | 53 | ;; Major mode for editing Tcl| |
| 54 | ;; $Date: 1996/09/12 17:02:52 $|$Revision: 1.51 $|~/modes/tcl.el.Z| | 54 | ;; $Date: 1998/07/02 17:47:49 $|$Revision: 1.52 $|~/modes/tcl.el.Z| |
| 55 | 55 | ||
| 56 | ;; CUSTOMIZATION NOTES: | 56 | ;; CUSTOMIZATION NOTES: |
| 57 | ;; * tcl-proc-list can be used to customize a list of things that | 57 | ;; * tcl-proc-list can be used to customize a list of things that |
| @@ -65,6 +65,11 @@ | |||
| 65 | 65 | ||
| 66 | ;; Change log: | 66 | ;; Change log: |
| 67 | ;; $Log: tcl.el,v $ | 67 | ;; $Log: tcl.el,v $ |
| 68 | ;; Revision 1.52 1998/07/02 17:47:49 tromey | ||
| 69 | ;; Some itcl additions: | ||
| 70 | ;; (tcl-typeword-list): Added private, itk_option. | ||
| 71 | ;; (tcl-proc-list): Added body, configbody, class. | ||
| 72 | ;; | ||
| 68 | ;; Revision 1.51 1996/09/12 17:02:52 tromey | 73 | ;; Revision 1.51 1996/09/12 17:02:52 tromey |
| 69 | ;; (tcl-indent-command): Use insert-tab, not self-insert-command. | 74 | ;; (tcl-indent-command): Use insert-tab, not self-insert-command. |
| 70 | ;; | 75 | ;; |
| @@ -356,7 +361,8 @@ | |||
| 356 | 361 | ||
| 357 | ;; FIXME this will break on Emacs 19.100. | 362 | ;; FIXME this will break on Emacs 19.100. |
| 358 | (defconst tcl-using-emacs-19-23 | 363 | (defconst tcl-using-emacs-19-23 |
| 359 | (string-match "19\\.\\(2[3-9]\\|[3-9][0-9]\\)" emacs-version) | 364 | (or (string-match "19\\.\\(2[3-9]\\|[3-9][0-9]\\)" emacs-version) |
| 365 | (string-match "^20\\." emacs-version)) | ||
| 360 | "Nil unless using Emacs 19-23 or later.") | 366 | "Nil unless using Emacs 19-23 or later.") |
| 361 | 367 | ||
| 362 | (defconst tcl-using-xemacs-19 (string-match "XEmacs" emacs-version) | 368 | (defconst tcl-using-xemacs-19 (string-match "XEmacs" emacs-version) |
| @@ -373,7 +379,7 @@ | |||
| 373 | (require 'imenu)) | 379 | (require 'imenu)) |
| 374 | ())) | 380 | ())) |
| 375 | 381 | ||
| 376 | (defconst tcl-version "$Revision: 1.51 $") | 382 | (defconst tcl-version "$Revision: 1.52 $") |
| 377 | (defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>") | 383 | (defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>") |
| 378 | 384 | ||
| 379 | ;; | 385 | ;; |