Deactivate region in `C-c C-r' in python-mode
* lisp/progmodes/python.el (python-shell-send-region): Deactivate mark after executing (bug#28789). This is how this command worked in Emacs 24, apparently.
This commit is contained in:
parent
a304b22bc9
commit
3bf21f52b6
1 changed files with 2 additions and 1 deletions
|
@ -3273,7 +3273,8 @@ process running; defaults to t when called interactively."
|
|||
;; lines have been removed/added.
|
||||
(with-current-buffer (process-buffer process)
|
||||
(compilation-forget-errors))
|
||||
(python-shell-send-string string process)))
|
||||
(python-shell-send-string string process)
|
||||
(deactivate-mark)))
|
||||
|
||||
(defun python-shell-send-statement (&optional send-main msg)
|
||||
"Send the statement at point to inferior Python process.
|
||||
|
|
Loading…
Add table
Reference in a new issue