1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* 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'.
This commit is contained in:
Michael Albinus 2009-01-09 08:15:27 +00:00
parent eba7400d38
commit c28f19e5ac
2 changed files with 8 additions and 2 deletions

View file

@ -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