diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e4b30dfa310..994846847b7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-02-22 Seppo Sade (tiny change) + + * eshell/esh-ext.el (eshell-external-command): Do not restrict + remote check to "ftp". (Bug#8089) + 2011-02-21 Alan Mackenzie Fix bug #7930. diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el index f0b9a5eb083..7128d7e4749 100644 --- a/lisp/eshell/esh-ext.el +++ b/lisp/eshell/esh-ext.el @@ -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)