[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r105181: Mention :visible menu bar se
From: |
Lars Magne Ingebrigtsen |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r105181: Mention :visible menu bar separators |
Date: |
Thu, 14 Jul 2011 01:17:24 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 105181
fixes bug(s): http://debbugs.gnu.org/6334
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Thu 2011-07-14 01:17:24 +0200
message:
Mention :visible menu bar separators
* keymaps.texi (Menu Bar): Mention :visible and :enable
(bug#6344). Text by Drew Adams.
modified:
doc/lispref/ChangeLog
doc/lispref/keymaps.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2011-07-13 21:42:54 +0000
+++ b/doc/lispref/ChangeLog 2011-07-13 23:17:24 +0000
@@ -1,5 +1,8 @@
2011-07-13 Lars Magne Ingebrigtsen <address@hidden>
+ * keymaps.texi (Menu Bar): Mention :visible and :enable
+ (bug#6344). Text by Drew Adams.
+
* modes.texi (Running Hooks): Mention buffer-local hook variables
(bug#6218).
=== modified file 'doc/lispref/keymaps.texi'
--- a/doc/lispref/keymaps.texi 2011-06-25 18:21:00 +0000
+++ b/doc/lispref/keymaps.texi 2011-07-13 23:17:24 +0000
@@ -2262,6 +2262,17 @@
the following word. Thus, @code{"--:singleLine"}, is equivalent to
@code{"--single-line"}.
+ You can use a longer form to specify keywords such as @code{:enable}
+and @code{:visible} for a menu separator:
+
address@hidden(menu-item @var{separator-type} nil . @var{item-property-list})}
+
+For example:
+
address@hidden
+(menu-item "--" nil :visible (boundp 'foo))
address@hidden 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r105181: Mention :visible menu bar separators,
Lars Magne Ingebrigtsen <=