mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
(mouse-show-mark): Get positions to delete from mark
and point, not from mouse-drag-overlay.
This commit is contained in:
parent
977bbd4d38
commit
9e6856a7a4
@ -1068,8 +1068,7 @@ If MODE is 2 then do the same for lines."
|
||||
(unless ignore
|
||||
;; For certain special keys, delete the region.
|
||||
(if (member key mouse-region-delete-keys)
|
||||
(delete-region (overlay-start mouse-drag-overlay)
|
||||
(overlay-end mouse-drag-overlay))
|
||||
(delete-region (mark t) (point))
|
||||
;; Otherwise, unread the key so it gets executed normally.
|
||||
(setq unread-command-events
|
||||
(nconc events unread-command-events))))
|
||||
|
Loading…
Reference in New Issue
Block a user