Commit 1917b969 authored by Richard M. Stallman's avatar Richard M. Stallman

(mouse-set-region):

Test for ms-windows instead of win32, and use memq.
parent bc5155cd
......@@ -401,9 +401,7 @@ This should be bound to a mouse drag event."
;; If mark is highlighted, no need to bounce the cursor.
;; On X, we highlight while dragging, thus once again no need to bounce.
(or transient-mark-mode
(eq (framep (selected-frame)) 'x)
(eq (framep (selected-frame)) 'pc)
(eq (framep (selected-frame)) 'win32)
(memq (framep (selected-frame)) '(x pc ms-windows))
(sit-for 1))
(push-mark)
(set-mark (point))
......
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