summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)