From bdfb840ec4a5ed475c28de381447f6f1e541d5d1 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 17 May 2012 00:03:39 -0300 Subject: [PATCH] Deactivate mark on python-shell-send-region --- lisp/progmodes/python.el | 3 +-- 1 file changed, 1 insertion(+), 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'." (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." -- 2.39.5