changeset 8681:2fa333e36b60

Added filename completion in inferior tcl mode
author Tom Tromey <tromey@redhat.com>
date Thu, 01 Sep 1994 18:06:24 +0000
parents 8033d712ae38
children 42f95b1368ea
files lisp/progmodes/tcl.el
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/tcl.el	Thu Sep 01 15:30:26 1994 +0000
+++ b/lisp/progmodes/tcl.el	Thu Sep 01 18:06:24 1994 +0000
@@ -6,7 +6,7 @@
 ;; Author: Tom Tromey <tromey@busco.lanl.gov>
 ;;    Chris Lindblad <cjl@lcs.mit.edu>
 ;; Keywords: languages tcl modes
-;; Version: $Revision: 1.24 $
+;; Version: $Revision: 1.25 $
 
 ;; 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/08/21 20:33:05 $|$Revision: 1.24 $|~/modes/tcl.el.Z|
+;; $Date: 1994/08/22 15:56:24 $|$Revision: 1.25 $|~/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.25  1994/08/22  15:56:24  tromey
+;; tcl-load-file default to current buffer.
+;;
 ;; Revision 1.24  1994/08/21  20:33:05  tromey
 ;; Fixed bug in tcl-guess-application.
 ;;
@@ -273,7 +276,7 @@
 	   (require 'imenu))
        ()))
 
-(defconst tcl-version "$Revision: 1.24 $")
+(defconst tcl-version "$Revision: 1.25 $")
 (defconst tcl-maintainer "Tom Tromey <tromey@busco.lanl.gov>")
 
 ;;
@@ -463,6 +466,9 @@
 	(define-key tcl-mode-map [S-down-mouse-2] 'tcl-popup-menu))))
 
 (defun tcl-fill-inferior-map ()
+  (define-key inferior-tcl-mode-map "\t" 'comint-dynamic-complete)
+  (define-key inferior-tcl-mode-map "\M-?"
+    'comint-dynamic-list-filename-completions)
   (define-key inferior-tcl-mode-map "\e\C-a" 'tcl-beginning-of-defun)
   (define-key inferior-tcl-mode-map "\e\C-e" 'tcl-end-of-defun)
   (define-key inferior-tcl-mode-map "\177" 'backward-delete-char-untabify)