+2006-01-01 Richard M. Stallman <rms@gnu.org>
+
+ * mouse.el (mouse-drag-region-1): When following link via mouse-2,
+ put on event-kind property.
+
2005-12-31 Chong Yidong <cyd@stupidchicken.com>
* custom.el (provide-theme): Ban `user' theme name.
(select-window original-window)
(if (or (vectorp on-link) (stringp on-link))
(setq event (aref on-link 0))
- (setcar event 'mouse-2)))
+ (setcar event 'mouse-2)
+ ;; If this mouse click 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 event unread-command-events))))
;; Case where the end-event is not a cons cell (it's just a boring