# HG changeset patch # User Michael Albinus # Date 1231488824 0 # Node ID d2bdff7dc5f17d8c0cb0ecd4a5c329f76b30a52e # Parent f883a64629e11ad51e8c8e9687caed3a4fe34c3f * 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'. diff -r f883a64629e1 -r d2bdff7dc5f1 lisp/net/tramp.el --- 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