1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00

Deactivate mark on python-shell-send-region

This commit is contained in:
Dan Davison 2012-05-17 00:03:39 -03:00 committed by Fabián Ezequiel Gallina
parent 799aa2afb2
commit bdfb840ec4

View File

@ -1591,8 +1591,7 @@ Returns the output. See `python-shell-send-string-no-output'."
(defun python-shell-send-region (start end)
"Send the region delimited by START and END to inferior Python process."
(interactive "r")
(let ((deactivate-mark nil))
(python-shell-send-string (buffer-substring start end) nil t)))
(python-shell-send-string (buffer-substring start end) nil t))
(defun python-shell-send-buffer ()
"Send the entire buffer to inferior Python process."