emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103381: * eshell/esh-ext.el (eshell-


From: Michael Albinus
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103381: * eshell/esh-ext.el (eshell-external-command): Do not restrict
Date: Tue, 22 Feb 2011 06:50:25 +0100
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103381
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Tue 2011-02-22 06:50:25 +0100
message:
  * eshell/esh-ext.el (eshell-external-command): Do not restrict
  remote check to "ftp".  (Bug#8089)
modified:
  lisp/ChangeLog
  lisp/eshell/esh-ext.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-02-21 21:25:35 +0000
+++ b/lisp/ChangeLog    2011-02-22 05:50:25 +0000
@@ -1,3 +1,8 @@
+2011-02-22  Seppo Sade <address@hidden>  (tiny change)
+
+       * eshell/esh-ext.el (eshell-external-command): Do not restrict
+       remote check to "ftp".  (Bug#8089)
+
 2011-02-21  Alan Mackenzie  <address@hidden>
 
        Fix bug #7930.

=== modified file 'lisp/eshell/esh-ext.el'
--- a/lisp/eshell/esh-ext.el    2011-01-25 04:08:28 +0000
+++ b/lisp/eshell/esh-ext.el    2011-02-22 05:50:25 +0000
@@ -202,7 +202,7 @@
 (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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]