Deactivate mark on python-shell-send-region
authorDan Davison <davison@counsyl.com>
Thu, 17 May 2012 03:03:39 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:03:39 +0000 (00:03 -0300)
lisp/progmodes/python.el

index 6d9ca2f..a10e71d 100644 (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."