diff options
| author | Paul Eggert | 2013-11-05 16:14:56 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-11-05 16:14:56 -0800 |
| commit | 798aef02223bdfdf4ff383e59590b2a44eaf3a0c (patch) | |
| tree | 289c91326c8954fbab11e196397d70bb943477f3 /src/ChangeLog | |
| parent | 9e6e98264c0c2684245463689614926bb22a8516 (diff) | |
| download | emacs-798aef02223bdfdf4ff383e59590b2a44eaf3a0c.tar.gz emacs-798aef02223bdfdf4ff383e59590b2a44eaf3a0c.zip | |
Integer-related fixes for term.c etc.
* dispextern.h (face_tty_specified_color): New function.
* term.c (turn_on_face): Don't rely on undefined behavior when
assigning an out-of-range value to 'long'. Simplify
test for toggling highlight.
(tty_capable_p): Omit last two (unused) args. All callers changed.
* term.c (tty_capable_p, tty_menu_display, tty_menu_add_selection)
(read_menu_input, tty_menu_activate, tty_menu_show):
* xfaces.c (x_supports_face_attributes_p)
(tty_supports_face_attributes_p):
Use bool for boolean. All callers changed.
(tty_supports_face_attributes_p): Omit defaults for color indices;
no longer needed. Simplify tail call.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 00ac6f6e28c..6f6b3a26f92 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2013-11-06 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Integer-related fixes for term.c etc. | ||
| 4 | * dispextern.h (face_tty_specified_color): New function. | ||
| 5 | * term.c (turn_on_face): Don't rely on undefined behavior when | ||
| 6 | assigning an out-of-range value to 'long'. Simplify | ||
| 7 | test for toggling highlight. | ||
| 8 | (tty_capable_p): Omit last two (unused) args. All callers changed. | ||
| 9 | * term.c (tty_capable_p, tty_menu_display, tty_menu_add_selection) | ||
| 10 | (read_menu_input, tty_menu_activate, tty_menu_show): | ||
| 11 | * xfaces.c (x_supports_face_attributes_p) | ||
| 12 | (tty_supports_face_attributes_p): | ||
| 13 | Use bool for boolean. All callers changed. | ||
| 14 | (tty_supports_face_attributes_p): Omit defaults for color indices; | ||
| 15 | no longer needed. Simplify tail call. | ||
| 16 | |||
| 1 | 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca> | 17 | 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 18 | ||
| 3 | * xdisp.c (prepare_menu_bars): Mark static. | 19 | * xdisp.c (prepare_menu_bars): Mark static. |