diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2011-02-22 06:50:25 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2011-02-22 06:50:25 +0100 |
commit | ca41d1175fc9319fcf58baecf98f27fc892a73aa (patch) | |
tree | 669d9578ee53d14ad2ab24ef1f93d995a75939a5 /lisp/eshell | |
parent | 9c9ba4ba2021d1f610202403416b5e071e1ae57d (diff) | |
download | emacs-ca41d1175fc9319fcf58baecf98f27fc892a73aa.tar.gz emacs-ca41d1175fc9319fcf58baecf98f27fc892a73aa.tar.bz2 emacs-ca41d1175fc9319fcf58baecf98f27fc892a73aa.zip |
* eshell/esh-ext.el (eshell-external-command): Do not restrict
remote check to "ftp". (Bug#8089)
Diffstat (limited to 'lisp/eshell')
-rw-r--r-- | lisp/eshell/esh-ext.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |