diff options
| author | Stefan Monnier | 2005-05-31 21:54:59 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-05-31 21:54:59 +0000 |
| commit | 3c1b433ae1894049c5a16e3db12627e5ba3290fd (patch) | |
| tree | 481bf1616a23ff2e33d7c9c9270d1129e68d9118 /src | |
| parent | 490ee85358426111f2289db9912ac1404f76940d (diff) | |
| download | emacs-3c1b433ae1894049c5a16e3db12627e5ba3290fd.tar.gz emacs-3c1b433ae1894049c5a16e3db12627e5ba3290fd.zip | |
(note_mode_line_or_margin_highlight): Lisp_Object/int mixup.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 34 | ||||
| -rw-r--r-- | src/xdisp.c | 4 |
2 files changed, 20 insertions, 18 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index af24b539bed..0a85a7f8cc4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,17 +1,22 @@ | |||
| 1 | 2005-05-31 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * fileio.c (Finsert_file_contents): | ||
| 4 | * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. | ||
| 5 | |||
| 1 | 2005-05-31 Kim F. Storm <storm@cua.dk> | 6 | 2005-05-31 Kim F. Storm <storm@cua.dk> |
| 2 | 7 | ||
| 3 | * xdisp.c (mode_line_noprop_buf, mode_line_noprop_buf_end) | 8 | * xdisp.c (mode_line_noprop_buf, mode_line_noprop_buf_end) |
| 4 | (mode_line_noprop_ptr): Rename from frame_title_*. | 9 | (mode_line_noprop_ptr): Rename from frame_title_*. |
| 5 | (store_mode_line_noprop_char): Rename from store_frame_title_char. | 10 | (store_mode_line_noprop_char): Rename from store_frame_title_char. |
| 6 | (store_mode_line_noprop): Rename from store_frame_title. | 11 | (store_mode_line_noprop): Rename from store_frame_title. |
| 7 | (mode_line_target): New enum to specify current output target | 12 | (mode_line_target): New enum to specify current output target |
| 8 | for mode line formatting. | 13 | for mode line formatting. |
| 9 | (display_mode_element): Test it rather than frame_title_ptr and | 14 | (display_mode_element): Test it rather than frame_title_ptr and |
| 10 | mode_line_string_list to determine where output should go. | 15 | mode_line_string_list to determine where output should go. |
| 11 | (mode_line_proptrans_alist, mode_line_string_alist): Make static. | 16 | (mode_line_proptrans_alist, mode_line_string_alist): Make static. |
| 12 | (Vmode_line_unwind_vector): New variable. | 17 | (Vmode_line_unwind_vector): New variable. |
| 13 | (format_mode_line_unwind_data, unwind_format_mode_line): New | 18 | (format_mode_line_unwind_data, unwind_format_mode_line): |
| 14 | functions for unwind protection in mode line formatting. | 19 | New functions for unwind protection in mode line formatting. |
| 15 | (x_consider_frame_title): Use them and new local var 'title_start' | 20 | (x_consider_frame_title): Use them and new local var 'title_start' |
| 16 | to support nested calls to format-mode-line. Set mode_line_target | 21 | to support nested calls to format-mode-line. Set mode_line_target |
| 17 | to MODE_LINE_TITLE. | 22 | to MODE_LINE_TITLE. |
| @@ -40,10 +45,9 @@ | |||
| 40 | 45 | ||
| 41 | * ccl.c: Now an element of Vccl_program_table is a vector of | 46 | * ccl.c: Now an element of Vccl_program_table is a vector of |
| 42 | length 4, not 3. | 47 | length 4, not 3. |
| 43 | (ccl_get_compiled_code): New arg idx. Caller changed. Adjusted | 48 | (ccl_get_compiled_code): New arg idx. Caller changed. |
| 44 | for the change of Vccl_program_table. | 49 | Adjust for the change of Vccl_program_table. |
| 45 | (setup_ccl_program): Adjusted for the change of | 50 | (setup_ccl_program): Adjust for the change of Vccl_program_table. |
| 46 | Vccl_program_table. | ||
| 47 | (check_ccl_update): New function. | 51 | (check_ccl_update): New function. |
| 48 | (Fregister_ccl_program): Use ASET to set an element of a vector. | 52 | (Fregister_ccl_program): Use ASET to set an element of a vector. |
| 49 | Adjusted for the change of Vccl_program_table. | 53 | Adjusted for the change of Vccl_program_table. |
| @@ -53,7 +57,7 @@ | |||
| 53 | 57 | ||
| 54 | 2005-05-27 Juanma Barranquero <lekktu@gmail.com> | 58 | 2005-05-27 Juanma Barranquero <lekktu@gmail.com> |
| 55 | 59 | ||
| 56 | * image.c (Vimage_library_alist): Moved from image.el. | 60 | * image.c (Vimage_library_alist): Move from image.el. |
| 57 | (syms_of_image): Defvar it. | 61 | (syms_of_image): Defvar it. |
| 58 | (lookup_image_type): Use it. | 62 | (lookup_image_type): Use it. |
| 59 | 63 | ||
| @@ -150,8 +154,7 @@ | |||
| 150 | 154 | ||
| 151 | 2005-05-16 Andreas Schwab <schwab@suse.de> | 155 | 2005-05-16 Andreas Schwab <schwab@suse.de> |
| 152 | 156 | ||
| 153 | * unexmacosx.c (unexec_realloc): Move declarations before | 157 | * unexmacosx.c (unexec_realloc): Move declarations before statements. |
| 154 | statements. | ||
| 155 | 158 | ||
| 156 | 2005-05-14 Richard M. Stallman <rms@gnu.org> | 159 | 2005-05-14 Richard M. Stallman <rms@gnu.org> |
| 157 | 160 | ||
| @@ -179,8 +182,8 @@ | |||
| 179 | 182 | ||
| 180 | * emacs.c (main) [MAC_OS8]: Call init_atimer before mac_term_init. | 183 | * emacs.c (main) [MAC_OS8]: Call init_atimer before mac_term_init. |
| 181 | 184 | ||
| 182 | * keyboard.c (readable_events) [USE_TOOLKIT_SCROLL_BARS]: Regard | 185 | * keyboard.c (readable_events) [USE_TOOLKIT_SCROLL_BARS]: |
| 183 | toolkit scroll bar thumb drag events as squeezable and prevent | 186 | Regard toolkit scroll bar thumb drag events as squeezable and prevent |
| 184 | redisplay from being paused by them. | 187 | redisplay from being paused by them. |
| 185 | 188 | ||
| 186 | * mac.c [!MAC_OSX]: Include keyboard.h and syssignal.h. | 189 | * mac.c [!MAC_OSX]: Include keyboard.h and syssignal.h. |
| @@ -188,12 +191,11 @@ | |||
| 188 | [!MAC_OSX] (check_alarm, pause, index): Remove functions. | 191 | [!MAC_OSX] (check_alarm, pause, index): Remove functions. |
| 189 | [!MAC_OSX && __MRC__] (sys_strftime): Likewise. | 192 | [!MAC_OSX && __MRC__] (sys_strftime): Likewise. |
| 190 | [!MAC_OSX] (select): If fd 0 is not set in rfds and some input | 193 | [!MAC_OSX] (select): If fd 0 is not set in rfds and some input |
| 191 | event occurs before timeout, behave as if the function were | 194 | event occurs before timeout, behave as if the function were interrupted. |
| 192 | interrupted. | ||
| 193 | [!MAC_OSX] (sigblock, sigsetmask, alarm): Simulate SIGALRM | 195 | [!MAC_OSX] (sigblock, sigsetmask, alarm): Simulate SIGALRM |
| 194 | handling using Time Manager routines. | 196 | handling using Time Manager routines. |
| 195 | [!MAC_OSX] (mac_atimer_task, mac_atimer_qlink, signal_mask): New | 197 | [!MAC_OSX] (mac_atimer_task, mac_atimer_qlink, signal_mask): |
| 196 | variables. | 198 | New variables. |
| 197 | [!MAC_OSX] (mac_atimer_handler, set_mac_atimer, remove_mac_atimer) | 199 | [!MAC_OSX] (mac_atimer_handler, set_mac_atimer, remove_mac_atimer) |
| 198 | (setitimer): New functions. | 200 | (setitimer): New functions. |
| 199 | 201 | ||
diff --git a/src/xdisp.c b/src/xdisp.c index 167b4afadaa..fcfc8090277 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -21488,7 +21488,7 @@ note_mode_line_or_margin_highlight (window, x, y, area) | |||
| 21488 | tmp_glyph->charpos >= XINT (b); | 21488 | tmp_glyph->charpos >= XINT (b); |
| 21489 | tmp_glyph--, gpos++) | 21489 | tmp_glyph--, gpos++) |
| 21490 | { | 21490 | { |
| 21491 | if (tmp_glyph->object != glyph->object) | 21491 | if (!EQ (tmp_glyph->object, glyph->object)) |
| 21492 | break; | 21492 | break; |
| 21493 | } | 21493 | } |
| 21494 | 21494 | ||
| @@ -21501,7 +21501,7 @@ note_mode_line_or_margin_highlight (window, x, y, area) | |||
| 21501 | tmp_glyph->charpos < XINT (e); | 21501 | tmp_glyph->charpos < XINT (e); |
| 21502 | tmp_glyph++, gseq_length++) | 21502 | tmp_glyph++, gseq_length++) |
| 21503 | { | 21503 | { |
| 21504 | if (tmp_glyph->object != glyph->object) | 21504 | if (!EQ (tmp_glyph->object, glyph->object)) |
| 21505 | break; | 21505 | break; |
| 21506 | } | 21506 | } |
| 21507 | 21507 | ||