Questions tagged [easy-menu]
The easy-menu tag has no summary.
12 questions
0 votes
1 answer
117 views
How to fully and completely remove a menu defined by easy-menu-define
Given an example menu created via easy-menu: (easy-menu-define my-example-menu-map java-mode-map "My example menu" `("ExampleMenu" ["Hello World" 'ignore] ; ... more ...
0 votes
0 answers
161 views
Eager macro-expansion failure: (wrong-type-argument integer-or-marker-p nil)
I have this code: (defun make-search-sensitive-to-ifpmod-advice (orig-fun &rest args) "Temporary advice the search functions to make them sensitive to `isearch-filter-predicate'" (...
0 votes
1 answer
63 views
Reusing a code block to define a sub-menu with easy-menu-define [duplicate]
I'm trying to reuse a code block to define a sub-menu to be used in different parts (minor mode menus) of my code. I've attempted to define a variable to hold the sub-menu code block and then use it ...
0 votes
1 answer
74 views
easy-menu-define: how to display menu only in mode-line
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 &...
-1 votes
1 answer
63 views
Submenus with easy-menu
Can easy-menu-define defined sub-menus that can be activated with the mouse?
3 votes
1 answer
196 views
How to remove menu with easymenu?
Easymenu is great for creating menus, but how can you remove a top-level menu that was created with it? Here's an example. A minor mode might create the following menu: (easy-menu-define some-minor-...