From: Dan Davison Date: Thu, 17 May 2012 03:03:39 +0000 (-0300) Subject: Deactivate mark on python-shell-send-region X-Git-Tag: emacs-24.2.90~1199^2~499 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bdfb840ec4a5ed475c28de381447f6f1e541d5d1;p=emacs.git Deactivate mark on python-shell-send-region --- 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'." (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."