all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.