changeset 101020:d2bdff7dc5f1

* net/tramp.el: Revert previous patch. `last-command-char' is used in code used only for XEmacs, where it is different from `last-command-event'.
author Michael Albinus <michael.albinus@gmx.de>
date Fri, 09 Jan 2009 08:13:44 +0000
parents f883a64629e1
children dc0b8a5b4b6e
files lisp/net/tramp.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/tramp.el	Fri Jan 09 07:44:00 2009 +0000
+++ b/lisp/net/tramp.el	Fri Jan 09 08:13:44 2009 +0000
@@ -3738,10 +3738,10 @@
 	      ;; We don't need to handle `last-input-event', because
 	      ;; due to the key map we know it must be ?/ or ?~.
 	      (let ((s (concat (buffer-substring (point-min) (point))
-			       (string last-command-event))))
+			       (string last-command-char))))
 		(delete-region (point-min) (point))
 		(insert (substitute-in-file-name s))
-		(setq ad-return-value last-command-event))
+		(setq ad-return-value last-command-char))
 	    ad-do-it))))
 
    '(minibuffer-electric-separator