]> git.eshelyaron.com Git - emacs.git/commitdiff
(resolve_face_name): Handle case that FACE_NAME
authorGerd Moellmann <gerd@gnu.org>
Mon, 30 Oct 2000 15:36:36 +0000 (15:36 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 30 Oct 2000 15:36:36 +0000 (15:36 +0000)
is not a symbol or string.

src/ChangeLog
src/xfaces.c

index 27830a88e072bfd3b5ddd60b4918bc651ecfbfde..69e35f5c97502b77ea7d76154cde9658b37830af 100644 (file)
@@ -1,5 +1,8 @@
 2000-10-30  Gerd Moellmann  <gerd@gnu.org>
 
+       * xfaces.c (resolve_face_name): Handle case that FACE_NAME
+       is not a symbol or string.
+
        * xdisp.c (echo_area_display): Don't perform a display update from
        inside redisplay.  The update will happen anyway at the end of
        redisplay, and it can confuse redisplay (GC messages while
index b0c5dc0125840ea02d597a77813a45566644ca5f..2edbe148cb28912294169eeaffbe41c78b17d88c 100644 (file)
@@ -2884,7 +2884,7 @@ resolve_face_name (face_name)
   if (STRINGP (face_name))
     face_name = intern (XSTRING (face_name)->data);
 
-  for (;;)
+  while (SYMBOLP (face_name))
     {
       aliased = Fget (face_name, Qface_alias);
       if (NILP (aliased))