summaryrefslogtreecommitdiff
path: root/lisp/term.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-01-30 16:53:11 +0000
committerRichard M. Stallman <rms@gnu.org>2004-01-30 16:53:11 +0000
commit2d7502b55b52b9668c2c920f1bfa5bd437fb3b96 (patch)
tree0077d1b8fd3a1f08216f3fa8fd7f8ef3c4f2473f /lisp/term.el
parent9e2d29b605a4980beb909c46066ee5734b4d8b44 (diff)
downloademacs-2d7502b55b52b9668c2c920f1bfa5bd437fb3b96.tar.gz
(term-mouse-paste): Call mouse-set-point.
Diffstat (limited to 'lisp/term.el')
-rw-r--r--lisp/term.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/term.el b/lisp/term.el
index b329004c083..b1144268a09 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -1172,6 +1172,7 @@ without any interpretation."
;; 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)
(term-send-raw-string (current-kill (cond
((listp arg) 0)
((eq arg '-) -1)