X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/cddde9219f8ec1a47e0e967c117e269ecf9742e9..371d6a61466a2efe33a3d61a91cb8680b8db6277:/lisp/mouse.el diff --git a/lisp/mouse.el b/lisp/mouse.el index 63395619f4..8a74782250 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -904,7 +904,8 @@ DO-MOUSE-DRAG-REGION-POST-PROCESS should only be used by (mouse-minibuffer-check start-event) (setq mouse-selection-click-count-buffer (current-buffer)) (deactivate-mark) - (let* ((original-window (selected-window)) + (let* ((scroll-margin 0) ; Avoid margin scrolling (Bug#9541). + (original-window (selected-window)) ;; We've recorded what we needed from the current buffer and ;; window, now let's jump to the place of the event, where things ;; are happening.