(Finternal_lisp_face_p): Signal error for face alias loops.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 5 Jun 2007 10:06:19 +0000 (10:06 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 5 Jun 2007 10:06:19 +0000 (10:06 +0000)
src/ChangeLog
src/xfaces.c

index ecfbb08..e1e8867 100644 (file)
@@ -1,8 +1,12 @@
+2007-06-05  Juanma Barranquero  <lekktu@gmail.com>
+
+       * xfaces.c (Finternal_lisp_face_p): Signal error for face alias loops.
+
 2007-06-03  Nick Roberts  <nickrob@snap.net.nz>
 
        * keyboard.c (discard_mouse_events): Add GPM_CLICK_EVENT case.
 
-       * frame.c (Fmouse_position, Fmouse_pixel_position): 
+       * frame.c (Fmouse_position, Fmouse_pixel_position):
        Condition on HAVE_GPM too.
 
        * term.c (term_mouse_highlight): Remove unused variables.
index 07ea34b..b30d673 100644 (file)
@@ -3935,6 +3935,8 @@ Otherwise check for the existence of a global face.  */)
 {
   Lisp_Object lface;
 
+  face = resolve_face_name (face, 1);
+
   if (!NILP (frame))
     {
       CHECK_LIVE_FRAME (frame);