changeset 11024:636d0fa5a920

(internal_self_insert): Do face code only if HAVE_FACES.
author Karl Heuer <kwzh@gnu.org>
date Wed, 15 Mar 1995 21:53:53 +0000
parents 498940aefc37
children 6c5aef697fbe
files src/cmds.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/cmds.c	Wed Mar 15 21:30:49 1995 +0000
+++ b/src/cmds.c	Wed Mar 15 21:53:53 1995 +0000
@@ -298,6 +298,7 @@
   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 @@
       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)