diff options
author | Barry Warsaw <barry@python.org> | 1997-11-26 20:30:33 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1997-11-26 20:30:33 (GMT) |
commit | 8c4a8de75ea3d5e82fb7919f6088aca623b2f29f (patch) | |
tree | 7bb5db39cac32bb1a5ad83aa99b2e9de57c3aac8 /Misc | |
parent | 66d010ab3cf3d2f9f3d50b6f8459a2d82312918c (diff) | |
download | cpython-8c4a8de75ea3d5e82fb7919f6088aca623b2f29f.zip cpython-8c4a8de75ea3d5e82fb7919f6088aca623b2f29f.tar.gz cpython-8c4a8de75ea3d5e82fb7919f6088aca623b2f29f.tar.bz2 |
(py-mode-map): Bind py-mark-def-or-class to C-M-h with a different
spelling so that it doesn't clobber the standard M-BS binding. This
should be portable between X/Emacsen.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/python-mode.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index ebecc3c..688bb82 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -461,8 +461,9 @@ Currently-active file is at the head of the list.") ;; who cares? XEmacs 20 does the right thing with these too). (define-key py-mode-map [delete] 'py-electric-delete) (define-key py-mode-map [backspace] 'py-electric-backspace)) - ;; marking interesting locations - (define-key py-mode-map "\e\C-h" 'py-mark-def-or-class) + ;; Separate M-BS from C-M-h. The former should remain + ;; backward-kill-word. + (define-key py-mode-map [(control meta h)] 'py-mark-def-or-class) (define-key py-mode-map "\C-c\C-k" 'py-mark-block) ;; Miscellaneous (define-key py-mode-map "\C-c:" 'py-guess-indent-offset) |