aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorDan Davison2012-05-17 00:03:39 -0300
committerFabián Ezequiel Gallina2012-05-17 00:03:39 -0300
commitbdfb840ec4a5ed475c28de381447f6f1e541d5d1 (patch)
treef19680c7f33e49aa3e49adcd56875c7babeb157f /lisp/progmodes/python.el
parent799aa2afb2718db4df657fdaf1348cbfec21dd66 (diff)
downloademacs-bdfb840ec4a5ed475c28de381447f6f1e541d5d1.tar.gz
emacs-bdfb840ec4a5ed475c28de381447f6f1e541d5d1.zip
Deactivate mark on python-shell-send-region
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."