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: Ian Zimmerman
Subject: Re: Making M-X compile cache compile command across sessions?
Date: Sat, 28 Jan 2006 20:48:42 -0800 (PST)
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

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.

-- 
A true pessimist won't be discouraged by a little success.




reply via email to

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