comparison lisp/menubar.el @ 5118:e0db3c197671 ben-lisp-object

merge up to latest default branch, doesn't compile yet
author Ben Wing <ben@xemacs.org>
date Sat, 26 Dec 2009 21:18:49 -0600
parents a6d7e031a10b
children 308d34e9f07d
comparison
equal deleted inserted replaced
5117:3742ea8250b5 5118:e0db3c197671
566 and you can call those functions individually if necessary. 566 and you can call those functions individually if necessary.
567 You can also call `submenu-generate-accelerator-spec' yourself to add 567 You can also call `submenu-generate-accelerator-spec' yourself to add
568 accelerator specs -- this works even if the specs have already been added." 568 accelerator specs -- this works even if the specs have already been added."
569 (menu-split-long-menu (menu-sort-menu menu))) 569 (menu-split-long-menu (menu-sort-menu menu)))
570 570
571 ;;;###autoload
571 (defun menu-split-long-menu (menu) 572 (defun menu-split-long-menu (menu)
572 "Split MENU according to `menu-max-items' and add accelerator specs. 573 "Split MENU according to `menu-max-items' and add accelerator specs.
573 If MENU already has accelerator specs, they will be removed and new ones 574 If MENU already has accelerator specs, they will be removed and new ones
574 generated. You should normally use `menu-split-long-menu-and-sort' instead. 575 generated. You should normally use `menu-split-long-menu-and-sort' instead.
575 The menu should already be sorted to get meaningful results when it is 576 The menu should already be sorted to get meaningful results when it is