diff options
| author | Glenn Morris | 2011-04-22 20:07:16 -0700 |
|---|---|---|
| committer | Glenn Morris | 2011-04-22 20:07:16 -0700 |
| commit | 4ffd0d6b569d252e4e807d4e9c9d6a5bd5b08640 (patch) | |
| tree | 26c20c7c4da56fae7e041c9345c76cce1224188c /lisp/mouse.el | |
| parent | 81de9236e1daa1fe7dfd0ef9aaaf1e13b6aa74e4 (diff) | |
| parent | be71f8100a71a5b896ef05c32f51a09a3d9e3993 (diff) | |
| download | emacs-4ffd0d6b569d252e4e807d4e9c9d6a5bd5b08640.tar.gz emacs-4ffd0d6b569d252e4e807d4e9c9d6a5bd5b08640.zip | |
Merge from emacs-23; up to 2010-06-09T17:54:28Z!albinus@detlef.
Diffstat (limited to 'lisp/mouse.el')
| -rw-r--r-- | lisp/mouse.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index 87f9be6bf57..124f84d7d73 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -541,6 +541,9 @@ MODE-LINE-P non-nil means dragging a mode line; nil means a header line." | |||
| 541 | ;; a `drag-mouse-1'. In any case `on-link' would have been nulled | 541 | ;; a `drag-mouse-1'. In any case `on-link' would have been nulled |
| 542 | ;; above if there had been any significant mouse movement. | 542 | ;; above if there had been any significant mouse movement. |
| 543 | (when (and on-link (eq 'mouse-1 (car-safe event))) | 543 | (when (and on-link (eq 'mouse-1 (car-safe event))) |
| 544 | ;; If mouse-2 has never been done by the user, it doesn't | ||
| 545 | ;; have the necessary property to be interpreted correctly. | ||
| 546 | (put 'mouse-2 'event-kind 'mouse-click) | ||
| 544 | (push (cons 'mouse-2 (cdr event)) unread-command-events)))))) | 547 | (push (cons 'mouse-2 (cdr event)) unread-command-events)))))) |
| 545 | 548 | ||
| 546 | (defun mouse-drag-mode-line (start-event) | 549 | (defun mouse-drag-mode-line (start-event) |