[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r112920: * keyboard.c: Don't use PROP (...) as an lv
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] trunk r112920: * keyboard.c: Don't use PROP (...) as an lvalue. |
Date: |
Tue, 11 Jun 2013 04:15:52 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 112920
revision-id: address@hidden
parent: address@hidden
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Mon 2013-06-10 21:15:49 -0700
message:
* keyboard.c: Don't use PROP (...) as an lvalue.
(parse_tool_bar_item) [!USE_GTK && !HAVE_NS]:
Use set_prop (A, B), not PROP (A) = B.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/keyboard.c keyboard.c-20091113204419-o5vbwnq5f7feedwu-449
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-06-10 14:58:52 +0000
+++ b/src/ChangeLog 2013-06-11 04:15:49 +0000
@@ -1,3 +1,9 @@
+2013-06-11 Paul Eggert <address@hidden>
+
+ * keyboard.c: Don't use PROP (...) as an lvalue.
+ (parse_tool_bar_item) [!USE_GTK && !HAVE_NS]:
+ Use set_prop (A, B), not PROP (A) = B.
+
2013-06-10 Eli Zaretskii <address@hidden>
* xdisp.c (get_it_property): Use it->window instead of generating
=== modified file 'src/keyboard.c'
--- a/src/keyboard.c 2013-06-05 01:58:43 +0000
+++ b/src/keyboard.c 2013-06-11 04:15:49 +0000
@@ -8150,11 +8150,12 @@
#if !defined (USE_GTK) && !defined (HAVE_NS)
/* If we use build_desired_tool_bar_string to render the
tool bar, the separator is rendered as an image. */
- PROP (TOOL_BAR_ITEM_IMAGES)
- = menu_item_eval_property (Vtool_bar_separator_image_expression);
- PROP (TOOL_BAR_ITEM_ENABLED_P) = Qnil;
- PROP (TOOL_BAR_ITEM_SELECTED_P) = Qnil;
- PROP (TOOL_BAR_ITEM_CAPTION) = Qnil;
+ set_prop (TOOL_BAR_ITEM_IMAGES,
+ (menu_item_eval_property
+ (Vtool_bar_separator_image_expression)));
+ set_prop (TOOL_BAR_ITEM_ENABLED_P, Qnil);
+ set_prop (TOOL_BAR_ITEM_SELECTED_P, Qnil);
+ set_prop (TOOL_BAR_ITEM_CAPTION, Qnil);
#endif
return 1;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r112920: * keyboard.c: Don't use PROP (...) as an lvalue.,
Paul Eggert <=