aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-03-08 20:56:25 +0000
committerGerd Moellmann2001-03-08 20:56:25 +0000
commit5de7c6f2360dddb513582c10a1d7d656a388e35f (patch)
treeb085a5d8f15df428d843fa71c020d3b5deca9269 /src
parent48a4ca998539a17fc6d85a5f7dcc1deb8c7901b6 (diff)
downloademacs-5de7c6f2360dddb513582c10a1d7d656a388e35f.tar.gz
emacs-5de7c6f2360dddb513582c10a1d7d656a388e35f.zip
(handle_face_prop, face_before_or_after_it_pos)
(display_string): Call face_at_string_position with new parameter.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog14
-rw-r--r--src/xdisp.c6
2 files changed, 17 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index beb0fd4f506..357b78cb8f1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,19 @@
12001-03-08 Gerd Moellmann <gerd@gnu.org> 12001-03-08 Gerd Moellmann <gerd@gnu.org>
2 2
3 * xterm.c (note_mouse_highlight): Handle mouse-face and
4 help-echo in strings.
5 (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
6 (fast_find_string_pos): New function.
7
8 * xdisp.c (handle_face_prop, face_before_or_after_it_pos)
9 (display_string): Call face_at_string_position with new
10 parameter.
11
12 * xfaces.c (face_at_string_position): Add parameter MOUSE_P.
13 Handle `mouse-face'.
14
15 * dispextern.h (face_at_string_position): Change prototype.
16
3 * dired.c (directory_files_internal): Handle EAGAIN more 17 * dired.c (directory_files_internal): Handle EAGAIN more
4 efficiently. 18 efficiently.
5 19
diff --git a/src/xdisp.c b/src/xdisp.c
index 68dd53cfd9b..3db708e15c9 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2216,7 +2216,7 @@ handle_face_prop (it)
2216 it->region_beg_charpos, 2216 it->region_beg_charpos,
2217 it->region_end_charpos, 2217 it->region_end_charpos,
2218 &next_stop, 2218 &next_stop,
2219 base_face_id); 2219 base_face_id, 0);
2220 2220
2221#if 0 /* This shouldn't be neccessary. Let's check it. */ 2221#if 0 /* This shouldn't be neccessary. Let's check it. */
2222 /* If IT is used to display a mode line we would really like to 2222 /* If IT is used to display a mode line we would really like to
@@ -2324,7 +2324,7 @@ face_before_or_after_it_pos (it, before_p)
2324 it->region_beg_charpos, 2324 it->region_beg_charpos,
2325 it->region_end_charpos, 2325 it->region_end_charpos,
2326 &next_check_charpos, 2326 &next_check_charpos,
2327 base_face_id); 2327 base_face_id, 0);
2328 2328
2329 /* Correct the face for charsets different from ASCII. Do it 2329 /* Correct the face for charsets different from ASCII. Do it
2330 for the multibyte case only. The face returned above is 2330 for the multibyte case only. The face returned above is
@@ -13791,7 +13791,7 @@ display_string (string, lisp_string, face_string, face_string_pos,
13791 = face_at_string_position (it->w, face_string, face_string_pos, 13791 = face_at_string_position (it->w, face_string, face_string_pos,
13792 0, it->region_beg_charpos, 13792 0, it->region_beg_charpos,
13793 it->region_end_charpos, 13793 it->region_end_charpos,
13794 &endptr, it->base_face_id); 13794 &endptr, it->base_face_id, 0);
13795 face = FACE_FROM_ID (it->f, it->face_id); 13795 face = FACE_FROM_ID (it->f, it->face_id);
13796 it->face_box_p = face->box != FACE_NO_BOX; 13796 it->face_box_p = face->box != FACE_NO_BOX;
13797 } 13797 }