Browse Source

make enter halt current py buffer, C-enter halt all

Darren Ranalli 19 years ago
parent
commit
7cb8c25720
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/directscripts/python-mode.el

+ 2 - 2
direct/src/directscripts/python-mode.el

@@ -584,8 +584,8 @@ support for features needed by `python-mode'.")
   (define-key py-shell-map "\C-c=" 'py-down-exception)
   ;; VR STUDIO ENHANCEMENTS
   (define-key py-shell-map "\C-d"  'comint-delchar-or-maybe-python-resume)
-  (define-key py-shell-map [return] 'comint-interrupt-subjob-or-maybe-return)
-  (define-key py-shell-map [C-return] 'comint-interrupt-subjob-or-maybe-return-curbuf)
+  (define-key py-shell-map [return] 'comint-interrupt-subjob-or-maybe-return-curbuf)
+  (define-key py-shell-map [C-return] 'comint-interrupt-subjob-or-maybe-return)
   (define-key py-shell-map "\C-c\C-r" 'python-resume)
   (define-key py-shell-map "\C-c\C-s" 'pyd-shell)
   (define-key py-shell-map "\C-c\C-f" 'py-kill-shells)