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

remote check to "ftp".  (Bug#8089)
This commit is contained in:
Michael Albinus 2011-02-22 06:50:25 +01:00
parent 9c9ba4ba20
commit ca41d1175f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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.

View file

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