Mercurial > emacs
view etc/schema/xhtml-pres.rnc @ 111998:bc8dc4ac1e28
Implement tool-bar separators for non-GTK tool-bars.
* lisp/tool-bar.el (tool-bar--image-expression): New function.
(tool-bar-local-item, tool-bar--image-exp): Use it.
(tool-bar-setup): Initialize tool-bar-separator-image-expression.
Use :enable instead of :visible to avoid changing the tool-bar
configuration unnecessarily.
* src/keyboard.c (Vtool_bar_separator_image_expression): New variable.
(parse_tool_bar_item): Use it to obtain image separators for
displays not using native tool-bar separators.
* src/xdisp.c (build_desired_tool_bar_string): Don't handle separators
specially, since this is now done in parse_tool_bar_item.
* lisp/info.el (info-tool-bar-map): Add separators.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 20 Dec 2010 08:17:26 +0800 |
parents | 38f93f3d00a2 |
children |
line wrap: on
line source
hr = element hr { hr.attlist } hr.attlist = Common.attrib Block.class |= hr b = element b { b.attlist, Inline.model } b.attlist = Common.attrib big = element big { big.attlist, Inline.model } big.attlist = Common.attrib i = element i { i.attlist, Inline.model } i.attlist = Common.attrib small = element small { small.attlist, Inline.model } small.attlist = Common.attrib sub = element sub { sub.attlist, Inline.model } sub.attlist = Common.attrib sup = element sup { sup.attlist, Inline.model } sup.attlist = Common.attrib tt = element tt { tt.attlist, Inline.model } tt.attlist = Common.attrib Inline.class |= b | big | i | small | sub | sup | tt