3687 |
else |
else |
3688 |
lface = global_lface; |
lface = global_lface; |
3689 |
|
|
3690 |
|
/* Changing a named face means that all realized faces depending on |
3691 |
|
that face are invalid. Since we cannot tell which realized faces |
3692 |
|
depend on the face, make sure they are all removed. This is done |
3693 |
|
by incrementing face_change_count. The next call to |
3694 |
|
init_iterator will then free realized faces. */ |
3695 |
|
++face_change_count; |
3696 |
|
++windows_or_buffers_changed; |
3697 |
|
|
3698 |
xassert (LFACEP (lface)); |
xassert (LFACEP (lface)); |
3699 |
check_lface (lface); |
check_lface (lface); |
3700 |
return lface; |
return lface; |
3762 |
bcopy (XVECTOR (lface)->contents, XVECTOR (copy)->contents, |
bcopy (XVECTOR (lface)->contents, XVECTOR (copy)->contents, |
3763 |
LFACE_VECTOR_SIZE * sizeof (Lisp_Object)); |
LFACE_VECTOR_SIZE * sizeof (Lisp_Object)); |
3764 |
|
|
3765 |
|
/* Changing a named face means that all realized faces depending on |
3766 |
|
that face are invalid. Since we cannot tell which realized faces |
3767 |
|
depend on the face, make sure they are all removed. This is done |
3768 |
|
by incrementing face_change_count. The next call to |
3769 |
|
init_iterator will then free realized faces. */ |
3770 |
|
++face_change_count; |
3771 |
|
++windows_or_buffers_changed; |
3772 |
|
|
3773 |
return to; |
return to; |
3774 |
} |
} |
3775 |
|
|
4280 |
if (NILP (f->face_alist)) |
if (NILP (f->face_alist)) |
4281 |
return; |
return; |
4282 |
|
|
4283 |
|
/* Changing a named face means that all realized faces depending on |
4284 |
|
that face are invalid. Since we cannot tell which realized faces |
4285 |
|
depend on the face, make sure they are all removed. This is done |
4286 |
|
by incrementing face_change_count. The next call to |
4287 |
|
init_iterator will then free realized faces. */ |
4288 |
|
++face_change_count; |
4289 |
|
++windows_or_buffers_changed; |
4290 |
|
|
4291 |
if (EQ (param, Qforeground_color)) |
if (EQ (param, Qforeground_color)) |
4292 |
{ |
{ |
4293 |
lface = lface_from_face_name (f, Qdefault, 1); |
lface = lface_from_face_name (f, Qdefault, 1); |