summaryrefslogtreecommitdiffstats
path: root/Misc/python-mode.el
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1999-01-19 13:26:56 (GMT)
committerBarry Warsaw <barry@python.org>1999-01-19 13:26:56 (GMT)
commitcb5540e72af8b11ac7bf55051fdda38de57b5dcf (patch)
tree07c1e830810746d64e202e04532a29e054f0f2fe /Misc/python-mode.el
parentf8ddb6afa0d4f0b35ed7d811cf994849b7a04da1 (diff)
downloadcpython-cb5540e72af8b11ac7bf55051fdda38de57b5dcf.zip
cpython-cb5540e72af8b11ac7bf55051fdda38de57b5dcf.tar.gz
cpython-cb5540e72af8b11ac7bf55051fdda38de57b5dcf.tar.bz2
(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 :-)
Diffstat (limited to 'Misc/python-mode.el')
-rw-r--r--Misc/python-mode.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 0bdcfa1..9004a96 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.