aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/eshell/esh-ext.el5
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a82048617cf..149c75b1c75 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12012-07-10 Michael Albinus <michael.albinus@gmx.de>
2
3 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4 command, just in case. The function is not needed anymore.
5 (eshell-external-command): Do not call `eshell-remote-command'.
6
12012-07-10 Stefan Monnier <monnier@iro.umontreal.ca> 72012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2 8
3 Reduce use of (require 'cl). 9 Reduce use of (require 'cl).
diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el
index f025c66df32..a411d3df06e 100644
--- a/lisp/eshell/esh-ext.el
+++ b/lisp/eshell/esh-ext.el
@@ -188,6 +188,7 @@ all the output from the remote command, and sends it all at once,
188causing the user to wonder if anything's really going on..." 188causing the user to wonder if anything's really going on..."
189 (let ((outbuf (generate-new-buffer " *eshell remote output*")) 189 (let ((outbuf (generate-new-buffer " *eshell remote output*"))
190 (errbuf (generate-new-buffer " *eshell remote error*")) 190 (errbuf (generate-new-buffer " *eshell remote error*"))
191 (command (or (file-remote-p command 'localname) command))
191 (exitcode 1)) 192 (exitcode 1))
192 (unwind-protect 193 (unwind-protect
193 (progn 194 (progn
@@ -205,8 +206,8 @@ causing the user to wonder if anything's really going on..."
205(defun eshell-external-command (command args) 206(defun eshell-external-command (command args)
206 "Insert output from an external COMMAND, using ARGS." 207 "Insert output from an external COMMAND, using ARGS."
207 (setq args (eshell-stringify-list (eshell-flatten-list args))) 208 (setq args (eshell-stringify-list (eshell-flatten-list args)))
208 (if (file-remote-p default-directory) 209; (if (file-remote-p default-directory)
209 (eshell-remote-command command args)) 210; (eshell-remote-command command args))
210 (let ((interp (eshell-find-interpreter command))) 211 (let ((interp (eshell-find-interpreter command)))
211 (assert interp) 212 (assert interp)
212 (if (functionp (car interp)) 213 (if (functionp (car interp))