remote check to "ftp". (Bug#8089)
+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.
(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)