mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
* eshell/esh-ext.el (eshell-external-command): Do not restrict
remote check to "ftp". (Bug#8089)
This commit is contained in:
parent
9c9ba4ba20
commit
ca41d1175f
2 changed files with 6 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue