diff options
| author | Chong Yidong | 2011-09-24 14:38:20 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-09-24 14:38:20 -0400 |
| commit | 371d6a61466a2efe33a3d61a91cb8680b8db6277 (patch) | |
| tree | 189a6fdf27b00d7e2eae1bd36f173bd180143c09 | |
| parent | cddde9219f8ec1a47e0e967c117e269ecf9742e9 (diff) | |
| download | emacs-371d6a61466a2efe33a3d61a91cb8680b8db6277.tar.gz emacs-371d6a61466a2efe33a3d61a91cb8680b8db6277.zip | |
* mouse.el (mouse-drag-track): Set scroll-margin to 0 while tracking.
Fixes: debbugs:9541
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/mouse.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bf63cacf728..8b7e5f1525b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-09-24 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * mouse.el (mouse-drag-track): Set scroll-margin to 0 while | ||
| 4 | tracking (Bug#9541). | ||
| 5 | |||
| 1 | 2011-09-24 Ulf Jasper <ulf.jasper@web.de> | 6 | 2011-09-24 Ulf Jasper <ulf.jasper@web.de> |
| 2 | 7 | ||
| 3 | * net/newst-reader.el (newsticker-html-renderer) | 8 | * net/newst-reader.el (newsticker-html-renderer) |
diff --git a/lisp/mouse.el b/lisp/mouse.el index 63395619f44..8a74782250d 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -904,7 +904,8 @@ DO-MOUSE-DRAG-REGION-POST-PROCESS should only be used by | |||
| 904 | (mouse-minibuffer-check start-event) | 904 | (mouse-minibuffer-check start-event) |
| 905 | (setq mouse-selection-click-count-buffer (current-buffer)) | 905 | (setq mouse-selection-click-count-buffer (current-buffer)) |
| 906 | (deactivate-mark) | 906 | (deactivate-mark) |
| 907 | (let* ((original-window (selected-window)) | 907 | (let* ((scroll-margin 0) ; Avoid margin scrolling (Bug#9541). |
| 908 | (original-window (selected-window)) | ||
| 908 | ;; We've recorded what we needed from the current buffer and | 909 | ;; We've recorded what we needed from the current buffer and |
| 909 | ;; window, now let's jump to the place of the event, where things | 910 | ;; window, now let's jump to the place of the event, where things |
| 910 | ;; are happening. | 911 | ;; are happening. |