summaryrefslogtreecommitdiff
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2012-10-26 11:11:24 +0200
committerMartin Rudalics <rudalics@gmx.at>2012-10-26 11:11:24 +0200
commit8c7727c3354291d0798b2eb031f42a32c618c391 (patch)
tree56bd43d952d5aac0beb8fe2c86f72acd87660614 /lisp/mouse.el
parentb75897ba631b8dbbb337bd378689b4d35f25b853 (diff)
downloademacs-8c7727c3354291d0798b2eb031f42a32c618c391.tar.gz
Fix bug#12731 in mouse-drag-line.
* mouse.el (mouse-drag-line): Move last form into preceding when clause (Bug#12731). * help.el (resize-temp-buffer-window): Fix doc-string.
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r--lisp/mouse.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index fa5c69281de..61d70404bd6 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -517,8 +517,8 @@ must be one of the symbols `header', `mode', or `vertical'."
;; If mouse-2 has never been done by the user, it doesn't have
;; the necessary property to be interpreted correctly.
(put 'mouse-2 'event-kind 'mouse-click)
- (setcar event 'mouse-2))
- (push event unread-command-events)))
+ (setcar event 'mouse-2)
+ (push event unread-command-events))))
(defun mouse-drag-mode-line (start-event)
"Change the height of a window by dragging on the mode line."