`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-13 Francesco Potorti` <pot@gnu.org>
* play/tetris.el (tetris-blank-options, tetris-cell-options):
((and eudc-xemacs-p (featurep 'menubar))
(add-submenu '("Tools") (eudc-menu)))
(eudc-emacs-p
- (cond
+ (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)