]> git.eshelyaron.com Git - emacs.git/commitdiff
(internal_self_insert): Do face code only if HAVE_FACES.
authorKarl Heuer <kwzh@gnu.org>
Wed, 15 Mar 1995 21:53:53 +0000 (21:53 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 15 Mar 1995 21:53:53 +0000 (21:53 +0000)
src/cmds.c

index 867a646657b8565644ed909312c4b9d01634ad45..104667d497ec6174c1f16d0afa51cfc9fcfbb03a 100644 (file)
@@ -298,6 +298,7 @@ internal_self_insert (c1, noautofill)
   else
     insert_and_inherit (&c1, 1);
 
+#ifdef HAVE_FACES
   /* If previous command specified a face to use, use it.  */
   if (!NILP (Vself_insert_face)
       && EQ (last_command, Vself_insert_face_command))
@@ -308,6 +309,7 @@ internal_self_insert (c1, noautofill)
       Fput_text_property (before, after, Qface, Vself_insert_face, Qnil);
       Vself_insert_face = Qnil;
     }
+#endif
   synt = SYNTAX (c);
   if ((synt == Sclose || synt == Smath)
       && !NILP (Vblink_paren_function) && INTERACTIVE)