diff options
| author | Gerd Moellmann | 2000-10-30 15:36:36 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-10-30 15:36:36 +0000 |
| commit | 906b3b1495fd0c8a7fe483b24a391d82905c826e (patch) | |
| tree | ac4a8ed06edc6617b0c2920438958228712c2952 /src | |
| parent | d4358b37bec6762190437fc14a5a4fbc1b894465 (diff) | |
| download | emacs-906b3b1495fd0c8a7fe483b24a391d82905c826e.tar.gz emacs-906b3b1495fd0c8a7fe483b24a391d82905c826e.zip | |
(resolve_face_name): Handle case that FACE_NAME
is not a symbol or string.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xfaces.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 27830a88e07..69e35f5c975 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2000-10-30 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-10-30 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * xfaces.c (resolve_face_name): Handle case that FACE_NAME | ||
| 4 | is not a symbol or string. | ||
| 5 | |||
| 3 | * xdisp.c (echo_area_display): Don't perform a display update from | 6 | * xdisp.c (echo_area_display): Don't perform a display update from |
| 4 | inside redisplay. The update will happen anyway at the end of | 7 | inside redisplay. The update will happen anyway at the end of |
| 5 | redisplay, and it can confuse redisplay (GC messages while | 8 | redisplay, and it can confuse redisplay (GC messages while |
diff --git a/src/xfaces.c b/src/xfaces.c index b0c5dc01258..2edbe148cb2 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -2884,7 +2884,7 @@ resolve_face_name (face_name) | |||
| 2884 | if (STRINGP (face_name)) | 2884 | if (STRINGP (face_name)) |
| 2885 | face_name = intern (XSTRING (face_name)->data); | 2885 | face_name = intern (XSTRING (face_name)->data); |
| 2886 | 2886 | ||
| 2887 | for (;;) | 2887 | while (SYMBOLP (face_name)) |
| 2888 | { | 2888 | { |
| 2889 | aliased = Fget (face_name, Qface_alias); | 2889 | aliased = Fget (face_name, Qface_alias); |
| 2890 | if (NILP (aliased)) | 2890 | if (NILP (aliased)) |