summaryrefslogtreecommitdiff
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-06-22 04:37:38 +0000
committerRichard M. Stallman <rms@gnu.org>1995-06-22 04:37:38 +0000
commitc7ecf3ec5d909cbb50ed423e3c3208f7fede10ec (patch)
tree66179cf08a8492d29709c34f859bf91dcbe6c459 /lisp/mouse.el
parent253e45378fa98823e63dbbb8078dce363c9bc987 (diff)
downloademacs-c7ecf3ec5d909cbb50ed423e3c3208f7fede10ec.tar.gz
(mouse-yank-at-click): Clear mouse-selection-click-count.
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r--lisp/mouse.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 46fb5343cf5..dbd3ac263ff 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -581,6 +581,7 @@ regardless of where you click."
(run-hooks 'mouse-leave-buffer-hook)
(or mouse-yank-at-point (mouse-set-point click))
(setq this-command 'yank)
+ (setq mouse-selection-click-count 0)
(yank arg))
(defun mouse-kill-ring-save (click)