`easy-menu-create-menu' to avoid duplication of menu.
+2002-09-21 John Paul Wallington <jpw@shootybangbang.com>
+
+ * net/eudc.el (eudc-install-menu): Use `define-key' and
+ `easy-menu-create-menu' to avoid duplication of menu.
+
2002-09-20 Kim F. Storm <storm@cua.dk>
* kmacro.el (kmacro-step-edit-query): Use RET to execute rest of
(add-submenu '("Tools") (eudc-menu)))
(eudc-emacs-p
(cond
+ ((fboundp 'easy-menu-create-menu)
+ (define-key
+ global-map
+ [menu-bar tools directory-search]
+ (cons "Directory Search"
+ (easy-menu-create-menu "Directory Search" (cdr (eudc-menu))))))
((fboundp 'easy-menu-add-item)
(let ((menu (eudc-menu)))
(easy-menu-add-item nil '("tools") (easy-menu-create-menu (car menu)