diff lisp/eterm/tshell.el @ 104:cf808b4c4290 r20-1b4

Import from CVS: tag r20-1b4
author cvs
date Mon, 13 Aug 2007 09:16:51 +0200
parents 131b0175ea99
children
line wrap: on
line diff
--- a/lisp/eterm/tshell.el	Mon Aug 13 09:15:51 2007 +0200
+++ b/lisp/eterm/tshell.el	Mon Aug 13 09:16:51 2007 +0200
@@ -258,14 +258,17 @@
        (define-key tshell-mode-map "\t" 'term-dynamic-complete)
        (define-key tshell-mode-map "\M-?"
 	 'term-dynamic-list-filename-completions)
-       (define-key-after (lookup-key tshell-mode-map [menu-bar completion])
-	 [complete-env-variable] '("Complete Env. Variable Name" .
-				   tshell-dynamic-complete-environment-variable)
-	 'complete-file)
-       (define-key-after (lookup-key tshell-mode-map [menu-bar completion])
-	 [expand-directory] '("Expand Directory Reference" .
-			      tshell-replace-by-expanded-directory)
-	 'complete-expand)))
+;;; XEmacs change [JTL]: We don't have define-key-after   
+;;;		         (and we don't need it ...)
+;;;       (define-key-after (lookup-key tshell-mode-map [menu-bar completion])
+;;;	 [complete-env-variable] '("Complete Env. Variable Name" .
+;;;				   tshell-dynamic-complete-environment-variable)
+;;;	    'complete-file)
+;;;	  (define-key-after (lookup-key tshell-mode-map [menu-bar completion])
+;;;	    [expand-directory] '("Expand Directory Reference" .
+;;;				 tshell-replace-by-expanded-directory)
+;;;	    'complete-expand)
+       ))
 
 (defvar tshell-mode-hook '()
   "*Hook for customising Tshell mode.")