Commit e477dbfa authored by Jan Djärv's avatar Jan Djärv
Browse files

* mouse.el (mouse-on-link-p): Check for scroll bar.

Fixes: debbugs:13979
parent e9b4dbdc
2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
* mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2013-03-18 Michael Albinus <michael.albinus@gmx.de>
 
* net/tramp-compat.el (tramp-compat-user-error): New defun.
......
......@@ -755,7 +755,8 @@ click is the local or global binding of that event.
- Otherwise, the mouse-1 event is translated into a mouse-2 event
at the same position."
(let ((action
(and (or (not (consp pos))
(and (not (memq 'vertical-scroll-bar pos))
(or (not (consp pos))
mouse-1-click-in-non-selected-windows
(eq (selected-window) (posn-window pos)))
(or (mouse-posn-property pos 'follow-link)
......
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