unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to pre-load compile command history?
@ 2011-11-16 17:16 Roy Smith
  2011-11-16 17:54 ` Drew Adams
  2011-11-16 19:58 ` Tom
  0 siblings, 2 replies; 6+ messages in thread
From: Roy Smith @ 2011-11-16 17:16 UTC (permalink / raw)
  To: help-gnu-emacs

I'm running GNU Emacs 23.1.1.  In my init.el file, I set my default compile command:

(global-set-key "\C-cm" 'compile)
(setq compile-command "cd /home/roy/songza/code/radio/api/mobile/test; python test_api.py")

That works fine, but now I've got several different commands that I run often.  Is there some way to pre-load them into the compile history, so I can just do c-c m, then up-arrow though the history to pick the one I want?

---
Roy Smith
roy@panix.com




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-11-17  1:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-16 17:16 How to pre-load compile command history? Roy Smith
2011-11-16 17:54 ` Drew Adams
2011-11-16 18:36   ` Roy Smith
2011-11-16 19:08     ` Drew Adams
2011-11-17  1:11       ` Roy Smith
2011-11-16 19:58 ` Tom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).