mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(mouse-drag-region): Delete redundant switch-frame clause.
(mouse-drag-secondary): Likewise.
This commit is contained in:
parent
5330e99c71
commit
3ad0e7cefd
@ -228,10 +228,6 @@ release the mouse button. Otherwise, it does not."
|
||||
end-point (posn-point end))
|
||||
|
||||
(cond
|
||||
|
||||
;; Ignore switch-frame events.
|
||||
((eq (car-safe event) 'switch-frame))
|
||||
|
||||
;; Are we moving within the original window?
|
||||
((and (eq (posn-window end) start-window)
|
||||
(integer-or-marker-p end-point))
|
||||
@ -622,10 +618,6 @@ This must be bound to a button-down mouse event."
|
||||
(setq end (event-end event)
|
||||
end-point (posn-point end))
|
||||
(cond
|
||||
|
||||
;; Ignore switch-frame events.
|
||||
((eq (car-safe event) 'switch-frame))
|
||||
|
||||
;; Are we moving within the original window?
|
||||
((and (eq (posn-window end) start-window)
|
||||
(integer-or-marker-p end-point))
|
||||
|
Loading…
Reference in New Issue
Block a user