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

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

Re: Making M-X compile cache compile command across sessions?


From: Roy Smith
Subject: Re: Making M-X compile cache compile command across sessions?
Date: Sun, 29 Jan 2006 08:56:48 -0500
User-agent: MT-NewsWatcher/3.4 (PPC Mac OS X)

In article <mailman.91.1138510309.3044.help-gnu-emacs@gnu.org>,
 Ian Zimmerman <nobrowser@gmail.com> wrote:

> Roy> It's a pain to type all this every time I start up a new emacs
> Roy> session.  I know I can setq compile-command in my .emacs file, but
> Roy> that's a little too static.  It would be cool if emacs wrote the
> Roy> last compile command I used out to a file so it has a persistant
> Roy> cache across emacs sessions.  Any way to make it do that?
> 
> Use the desktop module and 
> 
> (add-to-list 'desktop-globals-to-save '(compile-history . 20))
> 
> or something similar.

Wow, I'd never heard of desktop before.  Sounds like exactly what I'm 
looking for, thanks!


reply via email to

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