mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Make octave-send-region deactivate the region
* lisp/progmodes/octave.el (octave-send-region): Deactivate mark after sending the region (bug#32282), since this is how these commands usually work.
This commit is contained in:
parent
ff701ce2b2
commit
f06acf752a
1 changed files with 2 additions and 1 deletions
|
|
@ -1516,7 +1516,8 @@ current buffer file unless called with a prefix arg \\[universal-argument]."
|
|||
;; https://lists.gnu.org/r/emacs-devel/2013-10/msg00095.html
|
||||
(compilation-forget-errors)
|
||||
(insert-before-markers string "\n")
|
||||
(comint-send-string proc (concat string "\n"))))
|
||||
(comint-send-string proc (concat string "\n")))
|
||||
(deactivate-mark))
|
||||
(if octave-send-show-buffer
|
||||
(display-buffer inferior-octave-buffer)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue