Commit a13a3391 authored by John Paul Wallington's avatar John Paul Wallington
Browse files

(eudc-install-menu): Use `define-key' and

`easy-menu-create-menu' to avoid duplication of menu.
parent 5190c95e
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
......
......@@ -1185,6 +1185,12 @@ queries the server for the existing fields and displays a corresponding form."
(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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment