summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/python-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index a209f5b..ec9e09e 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -550,7 +550,8 @@ Currently-active file is at the head of the list.")
(define-key py-mode-map "\C-c\C-b" 'py-submit-bug-report)
(define-key py-mode-map "\C-c\C-v" 'py-version)
;; py-newline-and-indent mappings
- (define-key py-mode-map "\n" 'py-newline-and-indent)
+ (define-key py-mode-map "\n" 'py-newline-and-indent)
+ (define-key py-mode-map "\C-m" 'py-newline-and-indent)
;; shadow global bindings for newline-and-indent w/ the py- version.
;; BAW - this is extremely bad form, but I'm not going to change it
;; for now.