diff options
author | Glenn Morris <rgm@gnu.org> | 2011-04-22 20:07:16 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-04-22 20:07:16 -0700 |
commit | 4ffd0d6b569d252e4e807d4e9c9d6a5bd5b08640 (patch) | |
tree | 26c20c7c4da56fae7e041c9345c76cce1224188c /lisp/mouse.el | |
parent | 81de9236e1daa1fe7dfd0ef9aaaf1e13b6aa74e4 (diff) | |
parent | be71f8100a71a5b896ef05c32f51a09a3d9e3993 (diff) |
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 87f9be6bf5..124f84d7d7 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." ;; a `drag-mouse-1'. In any case `on-link' would have been nulled ;; above if there had been any significant mouse movement. (when (and on-link (eq 'mouse-1 (car-safe event))) + ;; 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) (push (cons 'mouse-2 (cdr event)) unread-command-events)))))) (defun mouse-drag-mode-line (start-event) |