summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sainty <psainty@orcon.net.nz>2023-03-27 01:19:19 +1300
committerPhil Sainty <psainty@orcon.net.nz>2023-03-27 01:19:19 +1300
commit0770d7a0d084ffa3287b4232ef548f885d6fa4b4 (patch)
tree9b23419d9f745234c7bfabdb157b37d3e012d444
parente83df530cf715d3130e6f34f015d901527f79b5b (diff)
downloademacs-0770d7a0d084ffa3287b4232ef548f885d6fa4b4.tar.gz
* lisp/term.el (term-mouse-paste) Do not treat as a yank command (bug#58608)
This command sends the primary selection to the inferior process rather than inserting it into the buffer, and it's entirely up to the process as to whether anything at all gets inserted into the buffer as a result, so this is not a `yank' as far as Emacs is concerned.
-rw-r--r--lisp/term.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el
index 2e719567058..e1392908b90 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -1370,7 +1370,6 @@ Entry to this mode runs the hooks on `term-mode-hook'."
(interactive "e")
;; Give temporary modes such as isearch a chance to turn off.
(run-hooks 'mouse-leave-buffer-hook)
- (setq this-command 'yank)
(mouse-set-point click)
;; As we have moved point, bind `select-active-regions' to prevent
;; the `deactivate-mark' call in `term-send-raw-string' from