Mercurial > dotfiles
changeset 140:7fa84e297c84
emacs modes: use comment-indent-new-line for python
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 15 Sep 2009 16:59:47 -0500 |
parents | 6b57bb47de2e |
children | e30655eb7050 |
files | .elisp/settings/40.modes.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.elisp/settings/40.modes.el +++ b/.elisp/settings/40.modes.el @@ -63,6 +63,7 @@ point." (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) + (local-set-key (kbd "RET") 'comment-indent-new-line) ) (add-hook 'python-mode-hook 'af-python-mode-hook)