diff options
| author | Stefan Monnier | 2005-11-29 22:37:27 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-11-29 22:37:27 +0000 |
| commit | 96013ba9db86d72781746cd5613f378d1058732f (patch) | |
| tree | 8ab6333514c08e71a62dc9ddf260d90f3703dda3 /src | |
| parent | 597767dac7a956634df23884ae828b8a7dcdeb12 (diff) | |
| download | emacs-96013ba9db86d72781746cd5613f378d1058732f.tar.gz emacs-96013ba9db86d72781746cd5613f378d1058732f.zip | |
(stop_other_atimers): Fix loop to correctly compute `prev'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 38 | ||||
| -rw-r--r-- | src/atimer.c | 2 |
2 files changed, 21 insertions, 19 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3ed3b6d6279..868e39f0a39 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,8 +1,12 @@ | |||
| 1 | 2005-11-29 Ari Roponen <arjuropo@cc.jyu.fi> (tiny change) | ||
| 2 | |||
| 3 | * atimer.c (stop_other_atimers): Fix loop to correctly compute `prev'. | ||
| 4 | |||
| 1 | 2005-11-27 Richard M. Stallman <rms@gnu.org> | 5 | 2005-11-27 Richard M. Stallman <rms@gnu.org> |
| 2 | 6 | ||
| 3 | * window.c (adjust_window_trailing_edge): New function. | 7 | * window.c (adjust_window_trailing_edge): New function. |
| 4 | (Fadjust_window_trailing_edge): New function. | 8 | (Fadjust_window_trailing_edge): New function. |
| 5 | (syms_of_window): defsubr it. | 9 | (syms_of_window): Defsubr it. |
| 6 | (window_deletion_count): New variable. | 10 | (window_deletion_count): New variable. |
| 7 | (delete_window): Update window_deletion_count. | 11 | (delete_window): Update window_deletion_count. |
| 8 | 12 | ||
| @@ -13,7 +17,7 @@ | |||
| 13 | 17 | ||
| 14 | 2005-11-26 Henrik Enberg <henrik.enberg@telia.com> | 18 | 2005-11-26 Henrik Enberg <henrik.enberg@telia.com> |
| 15 | 19 | ||
| 16 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): | 20 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
| 17 | Handle :inherit property as a lisp expression. | 21 | Handle :inherit property as a lisp expression. |
| 18 | 22 | ||
| 19 | 2005-11-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 23 | 2005-11-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| @@ -52,8 +56,8 @@ | |||
| 52 | 56 | ||
| 53 | 2005-11-20 Chong Yidong <cyd@stupidchicken.com> | 57 | 2005-11-20 Chong Yidong <cyd@stupidchicken.com> |
| 54 | 58 | ||
| 55 | * xfaces.c (Finternal_set_lisp_face_attribute): Use | 59 | * xfaces.c (Finternal_set_lisp_face_attribute): |
| 56 | :ignore-defface for new frame defaults when `unspecified' is | 60 | Use :ignore-defface for new frame defaults when `unspecified' is |
| 57 | supplied. | 61 | supplied. |
| 58 | (Finternal_get_lisp_face_attribute): Hide :ignore-defface. | 62 | (Finternal_get_lisp_face_attribute): Hide :ignore-defface. |
| 59 | (merge_face_vectors): Don't do :ignore-defface overwriting here. | 63 | (merge_face_vectors): Don't do :ignore-defface overwriting here. |
| @@ -78,24 +82,22 @@ | |||
| 78 | 82 | ||
| 79 | * macterm.c [USE_CG_TEXT_DRAWING] (cg_text_anti_aliasing_threshold): | 83 | * macterm.c [USE_CG_TEXT_DRAWING] (cg_text_anti_aliasing_threshold): |
| 80 | New variable. | 84 | New variable. |
| 81 | [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): New | 85 | [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): New fun. |
| 82 | function. | ||
| 83 | (init_font_name_table) [USE_ATSUI && USE_CG_TEXT_DRAWING]: Use it. | 86 | (init_font_name_table) [USE_ATSUI && USE_CG_TEXT_DRAWING]: Use it. |
| 84 | [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Don't do antialiasing if | 87 | [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Don't do antialiasing if |
| 85 | font size is smaller than or equal to cg_text_anti_aliasing_threshold. | 88 | font size is smaller than or equal to cg_text_anti_aliasing_threshold. |
| 86 | 89 | ||
| 87 | 2005-11-17 Chong Yidong <cyd@stupidchicken.com> | 90 | 2005-11-17 Chong Yidong <cyd@stupidchicken.com> |
| 88 | 91 | ||
| 89 | * image.c (x_create_bitmap_from_xpm_data): Free attributes on | 92 | * image.c (x_create_bitmap_from_xpm_data): Free attributes on fail. |
| 90 | fail. | ||
| 91 | 93 | ||
| 92 | * xfaces.c (Qignore_defface): New variable. | 94 | * xfaces.c (Qignore_defface): New variable. |
| 93 | (syms_of_xfaces): Provide `:ignore-defface'. | 95 | (syms_of_xfaces): Provide `:ignore-defface'. |
| 94 | (IGNORE_DEFFACE_P): New macro. | 96 | (IGNORE_DEFFACE_P): New macro. |
| 95 | (check_lface_attrs, lface_fully_specified_p) | 97 | (check_lface_attrs, lface_fully_specified_p) |
| 96 | (Finternal_set_lisp_face_attribute) | 98 | (Finternal_set_lisp_face_attribute) |
| 97 | (Fface_attribute_relative_p, Fmerge_face_attribute): Handle | 99 | (Fface_attribute_relative_p, Fmerge_face_attribute): |
| 98 | Qignore_defface as a possible value. | 100 | Handle Qignore_defface as a possible value. |
| 99 | (merge_face_vectors): The merged face is `unspecified' if the | 101 | (merge_face_vectors): The merged face is `unspecified' if the |
| 100 | mergee specifies `:ignore-defface'. | 102 | mergee specifies `:ignore-defface'. |
| 101 | 103 | ||
| @@ -636,8 +638,8 @@ | |||
| 636 | * xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to | 638 | * xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to |
| 637 | get end of text rows. Obtain header-line/mode-line rows directly. | 639 | get end of text rows. Obtain header-line/mode-line rows directly. |
| 638 | 640 | ||
| 639 | * xterm.c, w32term.c, macterm.c (note_mouse_movement): Restore | 641 | * xterm.c, w32term.c, macterm.c (note_mouse_movement): |
| 640 | help_echo_string if mouse is moved inside last_mouse_glyph. | 642 | Restore help_echo_string if mouse is moved inside last_mouse_glyph. |
| 641 | 643 | ||
| 642 | 2005-10-12 Kim F. Storm <storm@cua.dk> | 644 | 2005-10-12 Kim F. Storm <storm@cua.dk> |
| 643 | 645 | ||
| @@ -702,8 +704,8 @@ | |||
| 702 | (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name. | 704 | (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name. |
| 703 | Don't use Fdowncase because family name is already lowered by | 705 | Don't use Fdowncase because family name is already lowered by |
| 704 | decode_mac_font_name. | 706 | decode_mac_font_name. |
| 705 | (init_font_name_table): Always call decode_mac_font_name. Add | 707 | (init_font_name_table): Always call decode_mac_font_name. |
| 706 | pair of family name and its reference to fm_font_family_alist. | 708 | Add pair of family name and its reference to fm_font_family_alist. |
| 707 | (mac_clear_font_name_table): Clear fm_font_family_alist. | 709 | (mac_clear_font_name_table): Clear fm_font_family_alist. |
| 708 | (XLoadQueryFont): Move font size parsing part to parse_x_font_name. | 710 | (XLoadQueryFont): Move font size parsing part to parse_x_font_name. |
| 709 | Lookup fm_font_family_alist to get font family reference. | 711 | Lookup fm_font_family_alist to get font family reference. |
| @@ -803,8 +805,8 @@ | |||
| 803 | (x_fix_overlapping_area): Add new OVERLAPS arg. | 805 | (x_fix_overlapping_area): Add new OVERLAPS arg. |
| 804 | (get_glyph_string_clip_rects): Add extern. | 806 | (get_glyph_string_clip_rects): Add extern. |
| 805 | 807 | ||
| 806 | * dispnew.c (redraw_overlapping_rows): Call | 808 | * dispnew.c (redraw_overlapping_rows): |
| 807 | rif->fix_overlapping_area with new OVERLAPS arg as redrawn part. | 809 | Call rif->fix_overlapping_area with new OVERLAPS arg as redrawn part. |
| 808 | 810 | ||
| 809 | * xdisp.c: Rename member for_overlaps_p in struct glyph_string to | 811 | * xdisp.c: Rename member for_overlaps_p in struct glyph_string to |
| 810 | for_overlaps. | 812 | for_overlaps. |
| @@ -1149,8 +1151,8 @@ | |||
| 1149 | 1151 | ||
| 1150 | * xsmfns.c: (get_current_dir_name): Remove prototype. | 1152 | * xsmfns.c: (get_current_dir_name): Remove prototype. |
| 1151 | 1153 | ||
| 1152 | * lisp.h: (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: Add | 1154 | * lisp.h: (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: |
| 1153 | prototype. | 1155 | Add prototype. |
| 1154 | 1156 | ||
| 1155 | * sysdep.c [WINDOWSNT]: Add prototype for getwd. | 1157 | * sysdep.c [WINDOWSNT]: Add prototype for getwd. |
| 1156 | Don't #undef NULL after including blockinput.h. | 1158 | Don't #undef NULL after including blockinput.h. |
diff --git a/src/atimer.c b/src/atimer.c index f8ed1b265ec..d260f67d24d 100644 --- a/src/atimer.c +++ b/src/atimer.c | |||
| @@ -231,7 +231,7 @@ stop_other_atimers (t) | |||
| 231 | struct atimer *p, *prev; | 231 | struct atimer *p, *prev; |
| 232 | 232 | ||
| 233 | /* See if T is active. */ | 233 | /* See if T is active. */ |
| 234 | for (p = atimers, prev = 0; p && p != t; p = p->next) | 234 | for (p = atimers, prev = NULL; p && p != t; prev = p, p = p->next) |
| 235 | ; | 235 | ; |
| 236 | 236 | ||
| 237 | if (p == t) | 237 | if (p == t) |