diff options
| -rw-r--r-- | lisp/mouse.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index a889706f3f7..562d139a64c 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -677,7 +677,7 @@ If you do this twice in the same position, the selection is killed." | |||
| 677 | (mouse-show-mark)) | 677 | (mouse-show-mark)) |
| 678 | ;; If we click this button again without moving it, | 678 | ;; If we click this button again without moving it, |
| 679 | ;; that time kill. | 679 | ;; that time kill. |
| 680 | (mouse-save-then-kill-delete-region (point) (mark)) | 680 | (mouse-save-then-kill-delete-region (mark) (point)) |
| 681 | (setq mouse-selection-click-count 0) | 681 | (setq mouse-selection-click-count 0) |
| 682 | (setq mouse-save-then-kill-posn nil)) | 682 | (setq mouse-save-then-kill-posn nil)) |
| 683 | (if (and (eq last-command 'mouse-save-then-kill) | 683 | (if (and (eq last-command 'mouse-save-then-kill) |
| @@ -709,14 +709,14 @@ If you do this twice in the same position, the selection is killed." | |||
| 709 | (goto-char new) | 709 | (goto-char new) |
| 710 | (set-mark new)) | 710 | (set-mark new)) |
| 711 | (setq deactivate-mark nil))) | 711 | (setq deactivate-mark nil))) |
| 712 | (kill-new (buffer-substring (point) (mark t)) t)) | 712 | (kill-new (buffer-substring (point) (mark t)) t) |
| 713 | (mouse-show-mark)) | ||
| 713 | ;; Set the mark where point is, then move where clicked. | 714 | ;; Set the mark where point is, then move where clicked. |
| 714 | (mouse-set-mark-fast click) | 715 | (mouse-set-mark-fast click) |
| 715 | (if before-scroll | 716 | (if before-scroll |
| 716 | (goto-char before-scroll)) | 717 | (goto-char before-scroll)) |
| 717 | (exchange-point-and-mark) | 718 | (exchange-point-and-mark) |
| 718 | (kill-ring-save (point) (mark t))) | 719 | (kill-new (buffer-substring (point) (mark t)) t)) |
| 719 | (mouse-show-mark) | ||
| 720 | (mouse-set-region-1) | 720 | (mouse-set-region-1) |
| 721 | (setq mouse-save-then-kill-posn | 721 | (setq mouse-save-then-kill-posn |
| 722 | (list (car kill-ring) (point) click-posn))))))) | 722 | (list (car kill-ring) (point) click-posn))))))) |