aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2014-06-20 14:35:04 -0400
committerStefan Monnier <[email protected]>2014-06-20 14:35:04 -0400
commitf49b49787c954ae858007ad149552a8af5b9d1e0 (patch)
tree36e0cbaba9821079bc4dadff7deb7d01fcdd4ad1 /lisp/mouse.el
parent9754868705d3f075230cad7ac7daa84024a2f4a9 (diff)
* 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/mouse.el')
-rw-r--r--lisp/mouse.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 0e5e603676..8cb42dfb45 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."