diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-06-20 14:35:04 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-06-20 14:35:04 -0400 |
commit | f49b49787c954ae858007ad149552a8af5b9d1e0 (patch) | |
tree | 36e0cbaba9821079bc4dadff7deb7d01fcdd4ad1 /lisp | |
parent | 9754868705d3f075230cad7ac7daa84024a2f4a9 (diff) | |
download | emacs-f49b49787c954ae858007ad149552a8af5b9d1e0.tar.gz |
* lisp/mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
since it's already done inside the loop (bug#17819).
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 8 | ||||
-rw-r--r-- | lisp/mouse.el | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 71d136953d4..fcbd0c39655 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca> + + * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events, + since it's already done inside the loop (bug#17819). + 2014-06-20 Martin Rudalics <rudalics@gmx.at> * mouse.el (mouse-drag-line): Re-remove code initially removed @@ -6,6 +11,9 @@ 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca> + * mouse.el (mouse-drag-line): Remove left-over code made redundant by + mouse--down-1-maybe-follows-link (bug#17819). + * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't align with the surrounding parent (bug#17721). diff --git a/lisp/mouse.el b/lisp/mouse.el index 0e5e603676b..8cb42dfb455 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -485,10 +485,7 @@ must be one of the symbols `header', `mode', or `vertical'." (unless (zerop growth) (setq dragged t) (adjust-window-trailing-edge - window (if (eq line 'mode) growth (- growth)) nil t)))))) - ;; Process the terminating event. - (unless dragged - (push event unread-command-events)))) + window (if (eq line 'mode) growth (- growth)) nil t)))))))) (defun mouse-drag-mode-line (start-event) "Change the height of a window by dragging on the mode line." |