Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5de7c6f2
Commit
5de7c6f2
authored
Mar 08, 2001
by
Gerd Moellmann
Browse files
(handle_face_prop, face_before_or_after_it_pos)
(display_string): Call face_at_string_position with new parameter.
parent
48a4ca99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
src/ChangeLog
src/ChangeLog
+14
-0
src/xdisp.c
src/xdisp.c
+3
-3
No files found.
src/ChangeLog
View file @
5de7c6f2
2001-03-08 Gerd Moellmann <gerd@gnu.org>
* xterm.c (note_mouse_highlight): Handle mouse-face and
help-echo in strings.
(x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
(fast_find_string_pos): New function.
* xdisp.c (handle_face_prop, face_before_or_after_it_pos)
(display_string): Call face_at_string_position with new
parameter.
* xfaces.c (face_at_string_position): Add parameter MOUSE_P.
Handle `mouse-face'.
* dispextern.h (face_at_string_position): Change prototype.
* dired.c (directory_files_internal): Handle EAGAIN more
efficiently.
...
...
src/xdisp.c
View file @
5de7c6f2
...
...
@@ -2216,7 +2216,7 @@ handle_face_prop (it)
it->region_beg_charpos,
it->region_end_charpos,
&next_stop,
base_face_id);
base_face_id
, 0
);
#if 0 /* This shouldn't be neccessary. Let's check it. */
/* 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)
it->region_beg_charpos,
it->region_end_charpos,
&next_check_charpos,
base_face_id);
base_face_id
, 0
);
/* Correct the face for charsets different from ASCII. Do it
for the multibyte case only. The face returned above is
...
...
@@ -13791,7 +13791,7 @@ display_string (string, lisp_string, face_string, face_string_pos,
= face_at_string_position (it->w, face_string, face_string_pos,
0, it->region_beg_charpos,
it->region_end_charpos,
&endptr, it->base_face_id);
&endptr, it->base_face_id
, 0
);
face = FACE_FROM_ID (it->f, it->face_id);
it->face_box_p = face->box != FACE_NO_BOX;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment