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

* eshell/esh-ext.el (eshell-external-command): Do not restrict

remote check to "ftp".  (Bug#8089)
parent 9c9ba4ba
2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
* eshell/esh-ext.el (eshell-external-command): Do not restrict
remote check to "ftp". (Bug#8089)
2011-02-21 Alan Mackenzie <acm@muc.de>
Fix bug #7930.
......
......@@ -202,7 +202,7 @@ causing the user to wonder if anything's really going on..."
(defun eshell-external-command (command args)
"Insert output from an external COMMAND, using ARGS."
(setq args (eshell-stringify-list (eshell-flatten-list args)))
(if (string-equal (file-remote-p default-directory 'method) "ftp")
(if (file-remote-p default-directory)
(eshell-remote-command command args))
(let ((interp (eshell-find-interpreter command)))
(assert interp)
......
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