Mercurial > emacs
diff src/fringe.c @ 60834:94900ab8eef0
(draw_fringe_bitmap_1, Fset_fringe_bitmap_face):
Derive face from fringe face.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 22 Mar 2005 23:00:44 +0000 |
parents | 26fb5a3f95ac |
children | e188b7249c28 26c9034f3533 13796b0653c7 |
line wrap: on
line diff
--- a/src/fringe.c Tue Mar 22 23:00:23 2005 +0000 +++ b/src/fringe.c Tue Mar 22 23:00:44 2005 +0000 @@ -551,7 +551,8 @@ Lisp_Object face; if ((face = fringe_faces[which], NILP (face)) - || (face_id = lookup_named_face (f, face, 'A', 1), face_id < 0)) + || (face_id = lookup_derived_face (f, face, 'A', FRINGE_FACE_ID, 0), + face_id < 0)) face_id = FRINGE_FACE_ID; } @@ -1360,7 +1361,8 @@ if (!NILP (face)) { - face_id = lookup_named_face (SELECTED_FRAME (), face, 'A', 1); + face_id = lookup_derived_face (SELECTED_FRAME (), face, + 'A', FRINGE_FACE_ID, 1); if (face_id < 0) error ("No such face"); }