Mercurial > dotfiles
comparison .elisp/settings/40.modes.el @ 101:0c1db2df2bf8
Experimental keybindings.
| author | Augie Fackler <durin42@gmail.com> |
|---|---|
| date | Thu, 30 Apr 2009 13:51:06 -0500 |
| parents | 9052c3801744 |
| children | 16472f9a3543 |
comparison
equal
deleted
inserted
replaced
| 99:26450200777a | 101:0c1db2df2bf8 |
|---|---|
| 48 (easy-menu-add-item nil '("Python") ["-" nil t] "Comment Out Region") | 48 (easy-menu-add-item nil '("Python") ["-" nil t] "Comment Out Region") |
| 49 ) | 49 ) |
| 50 (add-hook 'python-mode-hook 'af-python-mode-hook) | 50 (add-hook 'python-mode-hook 'af-python-mode-hook) |
| 51 | 51 |
| 52 (add-hook 'compilation-mode-hook '(lambda () (local-set-key "g" 'recompile))) | 52 (add-hook 'compilation-mode-hook '(lambda () (local-set-key "g" 'recompile))) |
| 53 | |
| 54 | |
| 55 ; text-mode tries to use M-s for something other than my save shortcut. | |
| 56 ; That's evil. Stop it from doing that. | |
| 57 (add-hook 'text-mode-hook '(lambda () | |
| 58 (define-key text-mode-map "\M-s" | |
| 59 'save-buffer))) |
