From 9075751c0002603bf468c51d2a2eddd255faee52 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 19 Jul 2014 19:21:57 -0400 Subject: Correct python-shell-* rebindings I'm not sure how I messed that up so bad initially. --- lisp/init-python.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp') 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) -- cgit v1.2.3