[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r105907: * mouse.el (mouse-drag-track
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r105907: * mouse.el (mouse-drag-track): Set scroll-margin to 0 while tracking. |
Date: |
Sat, 24 Sep 2011 14:38:20 -0400 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 105907
fixes bug(s): http://debbugs.gnu.org/9541
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sat 2011-09-24 14:38:20 -0400
message:
* mouse.el (mouse-drag-track): Set scroll-margin to 0 while tracking.
modified:
lisp/ChangeLog
lisp/mouse.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-09-24 14:04:46 +0000
+++ b/lisp/ChangeLog 2011-09-24 18:38:20 +0000
@@ -1,3 +1,8 @@
+2011-09-24 Chong Yidong <address@hidden>
+
+ * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
+ tracking (Bug#9541).
+
2011-09-24 Ulf Jasper <address@hidden>
* net/newst-reader.el (newsticker-html-renderer)
=== modified file 'lisp/mouse.el'
--- a/lisp/mouse.el 2011-07-14 14:01:16 +0000
+++ b/lisp/mouse.el 2011-09-24 18:38:20 +0000
@@ -904,7 +904,8 @@
(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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r105907: * mouse.el (mouse-drag-track): Set scroll-margin to 0 while tracking.,
Chong Yidong <=