aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Tromey1994-08-21 20:33:05 +0000
committerTom Tromey1994-08-21 20:33:05 +0000
commit3530a31713d26f6ed951bb2780e9f08683971374 (patch)
tree44efa23b4959811afdad1464202c24fd72e9c8d3
parentc276c7193f1f90d49157d1f7daad7484ce6e5016 (diff)
downloademacs-3530a31713d26f6ed951bb2780e9f08683971374.tar.gz
emacs-3530a31713d26f6ed951bb2780e9f08683971374.zip
Fixed bug in tcl-guess-application.
-rw-r--r--lisp/progmodes/tcl.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el
index c12ca6da51c..5d89312b0f8 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.22 $ 9;; Version: $Revision: 1.23 $
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: 1994/07/26 00:46:07 $|$Revision: 1.22 $|~/modes/tcl.el.Z| 54;; $Date: 1994/08/21 03:54:45 $|$Revision: 1.23 $|~/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,9 @@
65 65
66;; Change log: 66;; Change log:
67;; $Log: tcl.el,v $ 67;; $Log: tcl.el,v $
68;; Revision 1.23 1994/08/21 03:54:45 tromey
69;; Keybindings don't overshadown comint bindings.
70;;
68;; Revision 1.22 1994/07/26 00:46:07 tromey 71;; Revision 1.22 1994/07/26 00:46:07 tromey
69;; Emacs 18 changes from Carl Witty. 72;; Emacs 18 changes from Carl Witty.
70;; 73;;
@@ -193,6 +196,7 @@
193;; schmid@fb3-s7.math.TU-Berlin.DE (Gregor Schmid) 196;; schmid@fb3-s7.math.TU-Berlin.DE (Gregor Schmid)
194;; warsaw@nlm.nih.gov (Barry A. Warsaw) 197;; warsaw@nlm.nih.gov (Barry A. Warsaw)
195;; Carl Witty <cwitty@ai.mit.edu> 198;; Carl Witty <cwitty@ai.mit.edu>
199;; T. V. Raman <raman@crl.dec.com>
196 200
197;; KNOWN BUGS: 201;; KNOWN BUGS:
198;; * indent-region should skip blank lines. (It does in v19, so I'm 202;; * indent-region should skip blank lines. (It does in v19, so I'm
@@ -266,7 +270,7 @@
266 (require 'imenu)) 270 (require 'imenu))
267 ())) 271 ()))
268 272
269(defconst tcl-version "$Revision: 1.22 $") 273(defconst tcl-version "$Revision: 1.23 $")
270(defconst tcl-maintainer "Tom Tromey <tromey@busco.lanl.gov>") 274(defconst tcl-maintainer "Tom Tromey <tromey@busco.lanl.gov>")
271 275
272;; 276;;
@@ -1909,7 +1913,7 @@ Parts of this were taken from indent-for-comment (simple.el)."
1909The first line is assumed to look like \"#!.../program ...\"." 1913The first line is assumed to look like \"#!.../program ...\"."
1910 (save-excursion 1914 (save-excursion
1911 (goto-char (point-min)) 1915 (goto-char (point-min))
1912 (if (looking-at "#![^ \t]*/\\([^ \t/]+\\)\\([ \t]\\|$\\)") 1916 (if (looking-at "#![^ \t]*/\\([^ \t\n/]+\\)\\([ \t]\\|$\\)")
1913 (progn 1917 (progn
1914 (make-local-variable 'tcl-application) 1918 (make-local-variable 'tcl-application)
1915 (setq tcl-application (buffer-substring (match-beginning 1) 1919 (setq tcl-application (buffer-substring (match-beginning 1)