double-click when doing follow-link (it's overridden anyway).
(and (integerp t0) (integerp t1)
(if (> mouse-1-click-follows-link 0)
(<= (- t1 t0) mouse-1-click-follows-link)
- (< (- t0 t1) mouse-1-click-follows-link)))))
- (or (not double-click-time)
- (sit-for 0 (if (integerp double-click-time)
- double-click-time 500) t)))))
+ (< (- t0 t1) mouse-1-click-follows-link))))))))
(if (or (vectorp on-link) (stringp on-link))
(setq event (aref on-link 0))
(setcar event 'mouse-2)))