Commit 0bc59b25 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

Mention :visible menu bar separators

* keymaps.texi (Menu Bar): Mention :visible and :enable
(bug#6344).  Text by Drew Adams.

Fixes: debbugs:6334
parent bd2fcc8d
2011-07-13 Lars Magne Ingebrigtsen <>
* keymaps.texi (Menu Bar): Mention :visible and :enable
(bug#6344). Text by Drew Adams.
* modes.texi (Running Hooks): Mention buffer-local hook variables
......@@ -2262,6 +2262,17 @@ the double-dash and replacing each single dash with capitalization of
the following word. Thus, @code{"--:singleLine"}, is equivalent to
You can use a longer form to specify keywords such as @code{:enable}
and @code{:visible} for a menu separator:
@code{(menu-item @var{separator-type} nil . @var{item-property-list})}
For example:
(menu-item "--" nil :visible (boundp 'foo))
@end example
Some systems and display toolkits don't really handle all of these
separator types. If you use a type that isn't supported, the menu
displays a similar kind of separator that is supported.
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