aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2007-09-02 16:59:00 +0000
committerJan Djärv2007-09-02 16:59:00 +0000
commit54c1ec72635b7a429c7e6ff330b646e019056396 (patch)
treee90a54673962ce212cbfc7c2072ea8027a313420 /src
parent8337e95186eaf2acbe994f2e24d2a0bedf019974 (diff)
downloademacs-54c1ec72635b7a429c7e6ff330b646e019056396.tar.gz
emacs-54c1ec72635b7a429c7e6ff330b646e019056396.zip
Qrtl is new.
(parse_tool_bar_item): Handle :rtl keyword. (syms_of_keyboard): Intern :rtl keyword.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index ea26e620892..99fd3419737 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -7828,10 +7828,11 @@ static Lisp_Object tool_bar_item_properties;
7828 7828
7829static int ntool_bar_items; 7829static int ntool_bar_items;
7830 7830
7831/* The symbols `tool-bar', and `:image'. */ 7831/* The symbols `tool-bar', `:image' and `:rtl'. */
7832 7832
7833extern Lisp_Object Qtool_bar; 7833extern Lisp_Object Qtool_bar;
7834Lisp_Object QCimage; 7834Lisp_Object QCimage;
7835Lisp_Object Qrtl;
7835 7836
7836/* Function prototypes. */ 7837/* Function prototypes. */
7837 7838
@@ -8117,6 +8118,9 @@ parse_tool_bar_item (key, item)
8117 /* Value is either a single image specification or a vector 8118 /* Value is either a single image specification or a vector
8118 of 4 such specifications for the different button states. */ 8119 of 4 such specifications for the different button states. */
8119 PROP (TOOL_BAR_ITEM_IMAGES) = value; 8120 PROP (TOOL_BAR_ITEM_IMAGES) = value;
8121 else if (EQ (key, Qrtl))
8122 /* ':rtl STRING' */
8123 PROP (TOOL_BAR_ITEM_RTL_IMAGE) = value;
8120 } 8124 }
8121 8125
8122 /* If got a filter apply it on binding. */ 8126 /* If got a filter apply it on binding. */
@@ -11145,6 +11149,9 @@ syms_of_keyboard ()
11145 staticpro (&Qhelp_echo); 11149 staticpro (&Qhelp_echo);
11146 Qhelp_echo = intern ("help-echo"); 11150 Qhelp_echo = intern ("help-echo");
11147 11151
11152 staticpro (&Qrtl);
11153 Qrtl = intern (":rtl");
11154
11148 staticpro (&item_properties); 11155 staticpro (&item_properties);
11149 item_properties = Qnil; 11156 item_properties = Qnil;
11150 11157