# HG changeset patch # User Augie Fackler # Date 1239380283 18000 # Node ID 26f1ccac509c2e472b841e117ad2b5acd64d0f63 # Parent 5e1439dd9ee199685d4aae5407489ed6732e19d9 Bind g to recompile in compilation-mode buffers. diff --git a/.elisp/settings/40.modes.el b/.elisp/settings/40.modes.el --- a/.elisp/settings/40.modes.el +++ b/.elisp/settings/40.modes.el @@ -37,6 +37,8 @@ point." ) (add-hook 'python-mode-hook 'af-python-mode-hook) +(add-hook 'compilation-mode-hook '(lambda () (local-set-key "g" 'recompile))) + ; text-mode tries to use M-s for something other than my save shortcut. ; That's evil. Stop it from doing that.