From 2707a9d13d3fb057b64f031a7b3764f944f1219f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 1 Sep 1994 18:06:24 +0000 Subject: [PATCH 1/1] Added filename completion in inferior tcl mode --- lisp/progmodes/tcl.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index 68db6d09c0..8495b09389 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el @@ -6,7 +6,7 @@ ;; Author: Tom Tromey ;; Chris Lindblad ;; 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 ") ;; @@ -463,6 +466,9 @@ quoted for Tcl.") (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) -- 2.39.2