diff options
| -rw-r--r-- | lisp/mouse.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index bdaf3c28962..46fb5343cf5 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -325,7 +325,8 @@ This should be bound to a mouse drag event." | |||
| 325 | (goto-char (posn-point end))) | 325 | (goto-char (posn-point end))) |
| 326 | ;; Don't set this-command to kill-region, so that a following | 326 | ;; Don't set this-command to kill-region, so that a following |
| 327 | ;; C-w will not double the text in the kill ring. | 327 | ;; C-w will not double the text in the kill ring. |
| 328 | (let (this-command) | 328 | ;; Ignore last-command so we don't append to a preceding kill. |
| 329 | (let (this-command last-command) | ||
| 329 | (copy-region-as-kill (mark) (point))) | 330 | (copy-region-as-kill (mark) (point))) |
| 330 | (mouse-set-region-1))) | 331 | (mouse-set-region-1))) |
| 331 | 332 | ||