diff options
| author | Tom Tromey | 1996-03-23 05:14:50 +0000 |
|---|---|---|
| committer | Tom Tromey | 1996-03-23 05:14:50 +0000 |
| commit | fcb51016d24922251acfbce354499b32374f9f91 (patch) | |
| tree | 072a9b358cc6c1033c37c3482f4a12bedba4683e | |
| parent | b9440f7e80269d37a2cebfc477b0596e2c733379 (diff) | |
| download | emacs-fcb51016d24922251acfbce354499b32374f9f91.tar.gz emacs-fcb51016d24922251acfbce354499b32374f9f91.zip | |
(tcl-using-emacs-19): Work with XEmacs 20.0. From Ben Wing.
| -rw-r--r-- | lisp/progmodes/tcl.el | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index 03b8e86cfed..8743e56b8ed 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el | |||
| @@ -6,7 +6,7 @@ | |||
| 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.48 $ | 9 | ;; Version: $Revision: 1.49 $ |
| 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: 1995/12/07 18:18:21 $|$Revision: 1.48 $|~/modes/tcl.el.Z| | 54 | ;; $Date: 1995/12/07 18:27:47 $|$Revision: 1.49 $|~/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,10 @@ | |||
| 65 | 65 | ||
| 66 | ;; Change log: | 66 | ;; Change log: |
| 67 | ;; $Log: tcl.el,v $ | 67 | ;; $Log: tcl.el,v $ |
| 68 | ;; Revision 1.49 1995/12/07 18:27:47 tromey | ||
| 69 | ;; (add-log-tcl-defun): Don't use tcl-beginning-of-defun; just go to end | ||
| 70 | ;; of line before searching. | ||
| 71 | ;; | ||
| 68 | ;; Revision 1.48 1995/12/07 18:18:21 tromey | 72 | ;; Revision 1.48 1995/12/07 18:18:21 tromey |
| 69 | ;; (add-log-tcl-defun): Now uses tcl-beginning-of-defun. | 73 | ;; (add-log-tcl-defun): Now uses tcl-beginning-of-defun. |
| 70 | ;; | 74 | ;; |
| @@ -290,6 +294,7 @@ | |||
| 290 | ;; Jesper Pedersen <blackie@imada.ou.dk> | 294 | ;; Jesper Pedersen <blackie@imada.ou.dk> |
| 291 | ;; dfarmer@evolving.com (Doug Farmer) | 295 | ;; dfarmer@evolving.com (Doug Farmer) |
| 292 | ;; "Chris Alfeld" <calfeld@math.utah.edu> | 296 | ;; "Chris Alfeld" <calfeld@math.utah.edu> |
| 297 | ;; Ben Wing <wing@666.com> | ||
| 293 | 298 | ||
| 294 | ;; KNOWN BUGS: | 299 | ;; KNOWN BUGS: |
| 295 | ;; * indent-region should skip blank lines. (It does in v19, so I'm | 300 | ;; * indent-region should skip blank lines. (It does in v19, so I'm |
| @@ -339,8 +344,8 @@ | |||
| 339 | ;;; Code: | 344 | ;;; Code: |
| 340 | 345 | ||
| 341 | ;; I sure wish Emacs had a package that made it easy to extract this | 346 | ;; I sure wish Emacs had a package that made it easy to extract this |
| 342 | ;; sort of information. | 347 | ;; sort of information. Strange definition works with XEmacs 20.0. |
| 343 | (defconst tcl-using-emacs-19 (string-match "19\\." emacs-version) | 348 | (defconst tcl-using-emacs-19 (not (string-match "18\\." emacs-version)) |
| 344 | "Nil unless using Emacs 19 (XEmacs or FSF).") | 349 | "Nil unless using Emacs 19 (XEmacs or FSF).") |
| 345 | 350 | ||
| 346 | ;; FIXME this will break on Emacs 19.100. | 351 | ;; FIXME this will break on Emacs 19.100. |
| @@ -362,7 +367,7 @@ | |||
| 362 | (require 'imenu)) | 367 | (require 'imenu)) |
| 363 | ())) | 368 | ())) |
| 364 | 369 | ||
| 365 | (defconst tcl-version "$Revision: 1.48 $") | 370 | (defconst tcl-version "$Revision: 1.49 $") |
| 366 | (defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>") | 371 | (defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>") |
| 367 | 372 | ||
| 368 | ;; | 373 | ;; |