summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-07-19 19:21:57 -0400
committerKyle Meyer <kyle@kyleam.com>2014-07-19 19:21:57 -0400
commit9075751c0002603bf468c51d2a2eddd255faee52 (patch)
treee8b9d0fb81241510294b536e61cb1d05ad7ef632 /lisp
parent1228984bfe69b18ea43ba0aa917bab09fa12907d (diff)
downloademacs.d-9075751c0002603bf468c51d2a2eddd255faee52.tar.gz
Correct python-shell-* rebindings
I'm not sure how I messed that up so bad initially.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-python.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/init-python.el b/lisp/init-python.el
index 0049b34..decc081 100644
--- a/lisp/init-python.el
+++ b/lisp/init-python.el
@@ -81,14 +81,14 @@ This is inspired by `ess-eval-function-or-paragraph-and-step'."
n))
(after 'python
- ;; Rebind `python-shell-send-region'.
+ ;; Rebind `python-shell-send-buffer'.
(define-key python-mode-map (kbd "C-c C-c")
'km/python-shell-send-function-or-paragraph-and-step)
- (define-key python-mode-map (kbd "C-c C-b") 'python-shell-send-region)
+ (define-key python-mode-map (kbd "C-c C-b") 'python-shell-send-buffer)
;; Swap `python-shell-send-defun' and `python-eldoc-at-point'.
(define-key python-mode-map (kbd "C-c C-f") 'python-shell-send-defun)
- (define-key python-mode-map (kbd "C-M-x") 'python-shell-send-defun))
+ (define-key python-mode-map (kbd "C-M-x") 'python-eldoc-at-point))
(defun km/python-hook ()
(local-set-key (kbd "C-c m t") 'km/find-python-test-file-other-window)