Mercurial > hg > xemacs-beta
diff lisp/menubar-items.el @ 337:fbbf69b4e8a7 r21-0-66
Import from CVS: tag r21-0-66
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:51:02 +0200 |
parents | 54f7aa390f4f |
children | 8429d81ab209 |
line wrap: on
line diff
--- a/lisp/menubar-items.el Mon Aug 13 10:50:41 2007 +0200 +++ b/lisp/menubar-items.el Mon Aug 13 10:51:02 2007 +0200 @@ -237,10 +237,16 @@ (package-get-download-menu))) ["Update Package Index" package-get-update-base] ["List & Install" pui-list-packages] - ("Using Custom" - ("Select" :filter (lambda (&rest junk) - (cdr (custom-menu-create 'packages)))) - ["Update" package-get-custom]) + ["Update Installed Packages" package-get-update-all] + ;; hack-o-matic, we can't force a laod of package-base here + ;; since it triggers dialog box interactions which we can't + ;; deal while using a menu + ("Using Custom" + :filter (lambda (&rest junk) + (if package-get-base + (cdr (custom-menu-create 'packages)) + '(["Please load Package Index" (lamda (&rest junk) ()) nil])))) + ["Help" (Info-goto-node "(xemacs)Packages")]) "---"