]> git.eshelyaron.com Git - emacs.git/commitdiff
(mouse-drag-region-1): Don't try to catch a
authorChong Yidong <cyd@stupidchicken.com>
Tue, 11 Oct 2005 15:30:31 +0000 (15:30 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 11 Oct 2005 15:30:31 +0000 (15:30 +0000)
double-click when doing follow-link (it's overridden anyway).

lisp/mouse.el

index 5390abacb5ceb9191f6f61b38005f19cc3b1a496..90f2b3ba87918665234bd8189045a68c8c66c805 100644 (file)
@@ -1026,10 +1026,7 @@ at the same position."
                                     (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)))