+2012-07-10 Michael Albinus <michael.albinus@gmx.de>
+
+ * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
+ command, just in case. The function is not needed anymore.
+ (eshell-external-command): Do not call `eshell-remote-command'.
+
2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
Reduce use of (require 'cl).
causing the user to wonder if anything's really going on..."
(let ((outbuf (generate-new-buffer " *eshell remote output*"))
(errbuf (generate-new-buffer " *eshell remote error*"))
+ (command (or (file-remote-p command 'localname) command))
(exitcode 1))
(unwind-protect
(progn
(defun eshell-external-command (command args)
"Insert output from an external COMMAND, using ARGS."
(setq args (eshell-stringify-list (eshell-flatten-list args)))
- (if (file-remote-p default-directory)
- (eshell-remote-command command args))
+; (if (file-remote-p default-directory)
+; (eshell-remote-command command args))
(let ((interp (eshell-find-interpreter command)))
(assert interp)
(if (functionp (car interp))