]> git.eshelyaron.com Git - emacs.git/commit
* vc-arch.el (vc-arch-extra-menu-map): New var and fun.
authorDan Nicolaescu <dann@ics.uci.edu>
Tue, 18 Sep 2007 01:28:25 +0000 (01:28 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Tue, 18 Sep 2007 01:28:25 +0000 (01:28 +0000)
commit793a22023e753cb9eddbde2d937b88026904f1a6
tree3c09473fb6f71cd46cf9509547b0eb9b32d3baf9
parent7262a148b6c23cd8c00d4c0e6a5c66410a98bf81
* vc-arch.el (vc-arch-extra-menu-map): New var and fun.

* vc-hooks.el (vc-menu-entry): New var.
(vc-mode-line-map): Use it so that this menu also uses the extra-menu.
(menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el.
(vc-menu-map): Declare and initialize in one step.

* menu-bar.el (vc-menu-map): Don't setup any more.
Instead, just create the proper spot in the menu.

* vc.el: Document new VC operation `extra-menu'.

* vc-hooks.el (vc-default-extra-menu, vc-menu-map-filter): New
function.
lisp/ChangeLog
lisp/menu-bar.el
lisp/vc-arch.el
lisp/vc-hooks.el
lisp/vc.el