help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How force command's output to appear in *current* window?


From: address@hidden
Subject: Re: How force command's output to appear in *current* window?
Date: Sun, 14 Dec 2008 22:34:37 -0800 (PST)
User-agent: G2/1.0

On Dec 14, 6:44 pm, Barry Margolin <bar...@alum.mit.edu> wrote:
> In article
> <fe2cd046-812c-42ed-ad29-4d5b974c4...@b41g2000pra.googlegroups.com>,
>
>
>
>  "seber...@spawar.navy.mil" <seber...@spawar.navy.mil> wrote:
> > On Dec 13, 10:35 pm, Barry Margolin <bar...@alum.mit.edu> wrote:
> > > Call it within save-window-excursion.
>
> > Thanks! Does this work for all commands?  I couldn't get it to work
> > for compile.
>
> > I tried
>
> > (save-window-excursion 'compile)
> > (save-window-excursion compile)
> > (save-window-excursion (compile))
>
> > They all either gave an error or nothing happened.
>
> > cs
>
> You left out the argument to compile.
>
> (save-window-excursion
>   (compile compile-command))
>
> will compile with the default compilation command.

Thanks.  That worked.

cs


reply via email to

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