]> git.eshelyaron.com Git - emacs.git/commitdiff
* eshell/esh-ext.el (eshell-external-command): Do not restrict
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 22 Feb 2011 05:50:25 +0000 (06:50 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 22 Feb 2011 05:50:25 +0000 (06:50 +0100)
remote check to "ftp".  (Bug#8089)

lisp/ChangeLog
lisp/eshell/esh-ext.el

index e4b30dfa310d7d526cbd31ac08774d3899b1e8d6..994846847b7f7d3907dafbe76344905b7cf7ffaf 100644 (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.
index f0b9a5eb083af1d079d9b5e606198a06774e1968..7128d7e4749709a43e1379d0913f7a62a6a266a4 100644 (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)