* vc.el (vc-dir-mode-map): Enable mouse bindings.
authorSam Steingold <sds@gnu.org>
Fri, 2 May 2008 14:37:39 +0000 (14:37 +0000)
committerSam Steingold <sds@gnu.org>
Fri, 2 May 2008 14:37:39 +0000 (14:37 +0000)
commit5ad4f91cb233c9e277871ed494fcde48d26540d0
tree7d69b0ef23ce9da178cccc2ec13fbb926f10637c
parentbfab7c6ec74dc55d640ef36f8cb1790a1420f991
* vc.el (vc-dir-mode-map): Enable mouse bindings.
(vc-at-event): New macro: run the body at the even location.
(vc-dir-menu, vc-dir-toggle-mark): Use it.
(vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
* subr.d (mouse-event-p): Check if the even is mouse-related.
lisp/ChangeLog
lisp/subr.el
lisp/vc.el