0

I'm using easy-menu-define to diplay a menu in the mode-line on the activation of a minor-mode:

(if biblio-editing-min-mode (easy-menu-define biblio-edit-menu biblio-editing-min-mode-map "BibEdit" '("BibEdit" ... 

When I activate the minor-mode the menu is diplayed both on mode-line and menu-bar. I want the menu to be displayed only on the mode-line. How can I do it?

1 Answer 1

0

I resolved with:

(if biblio-editing-min-mode (easy-menu-define biblio-edit-menu biblio-editing-min-mode-map "BibEdit" '("BibEdit" :visible (not (eq (framep (selected-frame)) 'x)) ... 

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.