Commit c28f19e5 authored by Michael Albinus's avatar Michael Albinus
Browse files

* 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'.
parent eba7400d
2009-01-09 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el: Revert previous patch. `last-command-char' is
used in code intended only for XEmacs, where it is different from
`last-command-event'.
2009-01-09 Glenn Morris <rgm@gnu.org>
 
* subr.el (last-input-char, last-command-char):
......
......@@ -3738,10 +3738,10 @@ beginning of local filename are not substituted."
;; 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment