# HG changeset patch # User Tom Tromey # Date 777501185 0 # Node ID 648f78c8ecf5c7a1c625addd0cf544bbd7ba5cba # Parent c93c9e08781062ff7522bca0131cb68ec2faad42 Fixed bug in tcl-guess-application. diff -r c93c9e087810 -r 648f78c8ecf5 lisp/progmodes/tcl.el --- a/lisp/progmodes/tcl.el Sun Aug 21 18:09:30 1994 +0000 +++ b/lisp/progmodes/tcl.el Sun Aug 21 20:33:05 1994 +0000 @@ -6,7 +6,7 @@ ;; Author: Tom Tromey ;; Chris Lindblad ;; Keywords: languages tcl modes -;; Version: $Revision: 1.22 $ +;; Version: $Revision: 1.23 $ ;; 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: 1994/07/26 00:46:07 $|$Revision: 1.22 $|~/modes/tcl.el.Z| +;; $Date: 1994/08/21 03:54:45 $|$Revision: 1.23 $|~/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.23 1994/08/21 03:54:45 tromey +;; Keybindings don't overshadown comint bindings. +;; ;; Revision 1.22 1994/07/26 00:46:07 tromey ;; Emacs 18 changes from Carl Witty. ;; @@ -193,6 +196,7 @@ ;; schmid@fb3-s7.math.TU-Berlin.DE (Gregor Schmid) ;; warsaw@nlm.nih.gov (Barry A. Warsaw) ;; Carl Witty +;; T. V. Raman ;; KNOWN BUGS: ;; * indent-region should skip blank lines. (It does in v19, so I'm @@ -266,7 +270,7 @@ (require 'imenu)) ())) -(defconst tcl-version "$Revision: 1.22 $") +(defconst tcl-version "$Revision: 1.23 $") (defconst tcl-maintainer "Tom Tromey ") ;; @@ -1909,7 +1913,7 @@ The first line is assumed to look like \"#!.../program ...\"." (save-excursion (goto-char (point-min)) - (if (looking-at "#![^ \t]*/\\([^ \t/]+\\)\\([ \t]\\|$\\)") + (if (looking-at "#![^ \t]*/\\([^ \t\n/]+\\)\\([ \t]\\|$\\)") (progn (make-local-variable 'tcl-application) (setq tcl-application (buffer-substring (match-beginning 1)