aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 6d9ca2f09d7..a10e71dab78 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1591,8 +1591,7 @@ Returns the output. See `python-shell-send-string-no-output'."
1591(defun python-shell-send-region (start end) 1591(defun python-shell-send-region (start end)
1592 "Send the region delimited by START and END to inferior Python process." 1592 "Send the region delimited by START and END to inferior Python process."
1593 (interactive "r") 1593 (interactive "r")
1594 (let ((deactivate-mark nil)) 1594 (python-shell-send-string (buffer-substring start end) nil t))
1595 (python-shell-send-string (buffer-substring start end) nil t)))
1596 1595
1597(defun python-shell-send-buffer () 1596(defun python-shell-send-buffer ()
1598 "Send the entire buffer to inferior Python process." 1597 "Send the entire buffer to inferior Python process."