diff options
| author | Paul Eggert | 2013-02-25 19:09:08 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-02-25 19:09:08 -0800 |
| commit | ecc0fdd49ea4351c229f7db243d26360604e758c (patch) | |
| tree | 04c9f8c066278146722112ec56bdff51a22991ae /src/intervals.h | |
| parent | 9f70f91e94a4c855d7ff8a98cf948f24e0f3eb31 (diff) | |
| download | emacs-ecc0fdd49ea4351c229f7db243d26360604e758c.tar.gz emacs-ecc0fdd49ea4351c229f7db243d26360604e758c.zip | |
Minor textprop integer cleanup.
* intervals.h, textprop.c (add_text_properties_from_list):
Return void, not int, since nobody uses the return value.
* textprop.c (validate_plist, add_properties, remove_properties)
(Fadd_text_properties):
Don't assume list length fits in int.
(interval_has_all_properties, interval_has_some_properties)
(interval_has_some_properties_list, add_properties, remove_properties)
(Fadd_text_properties, Fremove_text_properties)
(Fremove_list_of_text_properties, text_property_stickiness):
Use bool for booleans.
(Fadd_text_properties, Fremove_text_properties):
(Fremove_list_of_text_properties):
Reindent do-while as per GNU style.
Diffstat (limited to 'src/intervals.h')
| -rw-r--r-- | src/intervals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intervals.h b/src/intervals.h index cded8c0abb2..d6191225b1f 100644 --- a/src/intervals.h +++ b/src/intervals.h | |||
| @@ -293,7 +293,7 @@ extern void set_text_properties_1 (Lisp_Object, Lisp_Object, | |||
| 293 | 293 | ||
| 294 | Lisp_Object text_property_list (Lisp_Object, Lisp_Object, Lisp_Object, | 294 | Lisp_Object text_property_list (Lisp_Object, Lisp_Object, Lisp_Object, |
| 295 | Lisp_Object); | 295 | Lisp_Object); |
| 296 | int add_text_properties_from_list (Lisp_Object, Lisp_Object, Lisp_Object); | 296 | void add_text_properties_from_list (Lisp_Object, Lisp_Object, Lisp_Object); |
| 297 | Lisp_Object extend_property_ranges (Lisp_Object, Lisp_Object); | 297 | Lisp_Object extend_property_ranges (Lisp_Object, Lisp_Object); |
| 298 | Lisp_Object get_char_property_and_overlay (Lisp_Object, Lisp_Object, | 298 | Lisp_Object get_char_property_and_overlay (Lisp_Object, Lisp_Object, |
| 299 | Lisp_Object, Lisp_Object*); | 299 | Lisp_Object, Lisp_Object*); |