diff options
author | Eli Zaretskii <eliz@gnu.org> | 2007-01-27 17:38:14 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2007-01-27 17:38:14 +0000 |
commit | 05b531f69577fc9f2bbbd3cfe7c12f1132e7fce6 (patch) | |
tree | d3a5e9319009ba519e46baa73a4d8040b57ace3b /lisp/mouse.el | |
parent | 00e10871c5ff827693aa82dc12b269bc9951a28f (diff) | |
download | emacs-05b531f69577fc9f2bbbd3cfe7c12f1132e7fce6.tar.gz emacs-05b531f69577fc9f2bbbd3cfe7c12f1132e7fce6.tar.bz2 emacs-05b531f69577fc9f2bbbd3cfe7c12f1132e7fce6.zip |
Fix whitespace and indentation.
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r-- | lisp/mouse.el | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index 7d3c39a986c..c221a9bee99 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -1041,19 +1041,19 @@ should only be used by mouse-drag-region." (if do-multi-click (goto-char start-point)) (delete-overlay mouse-drag-overlay) (when (and (functionp fun) - (= start-hscroll (window-hscroll start-window)) - ;; Don't run the up-event handler if the - ;; window start changed in a redisplay after - ;; the mouse-set-point for the down-mouse - ;; event at the beginning of this function. - ;; When the window start has changed, the - ;; up-mouse event will contain a different - ;; position due to the new window contents, - ;; and point is set again. - (or end-point - (= (window-start start-window) - start-window-start))) - (when (and on-link + (= start-hscroll (window-hscroll start-window)) + ;; Don't run the up-event handler if the + ;; window start changed in a redisplay after + ;; the mouse-set-point for the down-mouse + ;; event at the beginning of this function. + ;; When the window start has changed, the + ;; up-mouse event will contain a different + ;; position due to the new window contents, + ;; and point is set again. + (or end-point + (= (window-start start-window) + start-window-start))) + (when (and on-link (or (not end-point) (= end-point start-point)) (consp event) (or remap-double-click |