Mercurial > dotfiles
diff .elisp/settings/40.modes.el @ 79:26f1ccac509c
Bind g to recompile in compilation-mode buffers.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Fri, 10 Apr 2009 11:18:03 -0500 |
parents | 45d7441d0cf2 |
children | 89f6d05cd7d5 |
line wrap: on
line diff
--- 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.