[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to stop EShell Command Output window opening
From: |
Tim X |
Subject: |
Re: How to stop EShell Command Output window opening |
Date: |
Wed, 08 Dec 2010 15:35:09 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Gary <help-gnu-emacs@garydjones.name> writes:
> I have the following code, which in principle works okay.
> ,----
> | (defun tvs-upload-buffer ()
> | "Uploads the current (tvs) buffer."
> | (interactive)
> |
> | (eshell-command
> | (concat tvs-scp " " buffer-file-name " "
> | tvs-frontend-server-user "@" tvs-frontend-server ":"
> tvs-frontend-server-path))
> |
> | (ignore-errors (kill-buffer "*EShell Command Output*"))
> | )
> `----
>
> But is there any way to stop emacs opening that annoying window to
> display the EShell Command Output (which buffer I kill anyway)?
Not sure, but wondering why you use eshell to do this rather than just
using a normal sub process? Seems to me that as eshell is primarily
designed to provide an interactive shell which you don't need, your
adding additional overhead for no gain.
Tim
--
tcross (at) rapttech dot com dot au
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: How to stop EShell Command Output window opening,
Tim X <=