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
67aecef9
Commit
67aecef9
authored
Jul 06, 2010
by
Chong Yidong
Browse files
* fringe.c (draw_fringe_bitmap_1): Use lookup_named_face to get
fringe face id, so face-remapping-alist works (Bug#6091).
parent
b56ceb92
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
src/ChangeLog
src/ChangeLog
+5
-0
src/fringe.c
src/fringe.c
+4
-5
No files found.
src/ChangeLog
View file @
67aecef9
2010-07-06 Chong Yidong <cyd@stupidchicken.com>
* fringe.c (draw_fringe_bitmap_1): Use lookup_named_face to get
fringe face id, so face-remapping-alist works (Bug#6091).
2010-07-06 Juanma Barranquero <lekktu@gmail.com>
* w32.c, w32console.c, w32fns.c, w32font.c, w32heap.c, w32inevt.c
...
...
src/fringe.c
View file @
67aecef9
...
...
@@ -576,11 +576,10 @@ draw_fringe_bitmap_1 (struct window *w, struct glyph_row *row, int left_p, int o
if
(
face_id
==
DEFAULT_FACE_ID
)
{
Lisp_Object
face
;
if
((
face
=
fringe_faces
[
which
],
NILP
(
face
))
||
(
face_id
=
lookup_derived_face
(
f
,
face
,
FRINGE_FACE_ID
,
0
),
face_id
<
0
))
Lisp_Object
face
=
fringe_faces
[
which
];
face_id
=
NILP
(
face
)
?
lookup_named_face
(
f
,
Qfringe
,
0
)
:
lookup_derived_face
(
f
,
face
,
FRINGE_FACE_ID
,
0
);
if
(
face_id
<
0
)
face_id
=
FRINGE_FACE_ID
;
}
...
...
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