Use bool for boolean in textprop.c, undo.c
commit62e170072e6000b30c37792227dc34e71a31d797
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Apr 2015 20:13:13 +0000 (19 13:13 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Apr 2015 20:13:52 +0000 (19 13:13 -0700)
tree6a97f0018e883b3daa0ca6d0f1f8f1d29ad89d17
parentb5b0e0500eb6fac1b0b2e9ca4da08826225b010b
Use bool for boolean in textprop.c, undo.c

* src/textprop.c (soft, hard): Now constants instead of macros.
(validate_plist): Rewrite to avoid need for boolean local.
(interval_has_all_properties, interval_has_some_properties)
(interval_has_some_properties_list, add_properties)
(remove_properties, get_char_property_and_overlay)
(Fnext_single_char_property_change)
(Fprevious_single_char_property_change, add_text_properties_1)
(Fremove_text_properties, Fremove_list_of_text_properties)
(copy_text_properties):
* src/tparam.c (tparam1):
* src/undo.c (record_change, record_property_change)
(syms_of_undo):
Use 'true' and 'false' for booleans.
src/textprop.c
src/tparam.c
src/undo.c