From cb5540e72af8b11ac7bf55051fdda38de57b5dcf Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 19 Jan 1999 13:26:56 +0000 Subject: [PATCH] (py-mode-map): Removed special bindings for C-m and C-j to py-newline-and-indent. These ought to get picked up by the mapcar that follows; any existing binding to newline-and-indent gets shadowed to py-newline-and-indent. This will break some people who, e.g. bind C-m or C-j to newline but still want these bound to py-newline-and-indent in Python mode. On the other hand, the forced binding pisses off Emacs diehards. So consider this experimental and see if any tall Dutch guys complain :-) --- Misc/python-mode.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 0bdcfa13cb4..9004a969184 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -483,9 +483,6 @@ Currently-active file is at the head of the list.") ;; information (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 "\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.