changeset 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 5e1439dd9ee1
children 423b8666e6f6
files .elisp/settings/40.modes.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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.