diff .elisp/settings/40.modes.el @ 102:16472f9a3543

Add some nosetests keybindings.
author Augie Fackler <durin42@gmail.com>
date Tue, 02 Jun 2009 14:00:56 -0500
parents 0c1db2df2bf8
children 16b57e1fc23d
line wrap: on
line diff
--- a/.elisp/settings/40.modes.el
+++ b/.elisp/settings/40.modes.el
@@ -46,6 +46,8 @@ point."
   (easy-menu-add-item nil '("Python") ["Debug One Test" nosetests-pdb-one t]
                       "Comment Out Region")
   (easy-menu-add-item nil '("Python") ["-" nil t] "Comment Out Region")
+  (local-set-key "\M-n" 'nosetests-module)
+  (local-set-key "\M-\C-n" 'nosetests-one)
 )
 (add-hook 'python-mode-hook 'af-python-mode-hook)