From: Stefan Monnier Date: Fri, 20 Jun 2014 18:35:04 +0000 (-0400) Subject: * lisp/mouse.el (mouse-drag-line): Don't re-add to unread-comment-events, X-Git-Tag: emacs-24.3.92~50 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f49b49787c954ae858007ad149552a8af5b9d1e0;p=emacs.git * lisp/mouse.el (mouse-drag-line): Don't re-add to unread-comment-events, since it's already done inside the loop (bug#17819). --- 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 + + * 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 * mouse.el (mouse-drag-line): Re-remove code initially removed @@ -6,6 +11,9 @@ 2014-06-20 Stefan Monnier + * 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."