Commit 5fb9cdd9 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(mouse-drag-secondary): Don't treat end of buffer

specially when within the window.
parent 40e6f148
......@@ -629,8 +629,7 @@ This must be bound to a button-down mouse event."
;; Are we moving within the original window?
((and (eq (posn-window end) start-window)
(integer-or-marker-p end-point))
(if (/= start-point end-point)
(set-marker mouse-secondary-start nil))
(set-marker mouse-secondary-start nil)
(let ((range (mouse-start-end start-point end-point
click-count)))
(move-overlay mouse-secondary-overlay
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment