aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmds.c
diff options
context:
space:
mode:
authorKarl Heuer1995-03-15 21:53:53 +0000
committerKarl Heuer1995-03-15 21:53:53 +0000
commit38d404db172e5d25763ad6823c71da0439251bea (patch)
treeb15627dc783514630e435cf912aa463de6c706f2 /src/cmds.c
parent6917cfb00d81729e3f11c261ed931bd0b11d5166 (diff)
downloademacs-38d404db172e5d25763ad6823c71da0439251bea.tar.gz
emacs-38d404db172e5d25763ad6823c71da0439251bea.zip
(internal_self_insert): Do face code only if HAVE_FACES.
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 867a646657b..104667d497e 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -298,6 +298,7 @@ internal_self_insert (c1, noautofill)
298 else 298 else
299 insert_and_inherit (&c1, 1); 299 insert_and_inherit (&c1, 1);
300 300
301#ifdef HAVE_FACES
301 /* If previous command specified a face to use, use it. */ 302 /* If previous command specified a face to use, use it. */
302 if (!NILP (Vself_insert_face) 303 if (!NILP (Vself_insert_face)
303 && EQ (last_command, Vself_insert_face_command)) 304 && EQ (last_command, Vself_insert_face_command))
@@ -308,6 +309,7 @@ internal_self_insert (c1, noautofill)
308 Fput_text_property (before, after, Qface, Vself_insert_face, Qnil); 309 Fput_text_property (before, after, Qface, Vself_insert_face, Qnil);
309 Vself_insert_face = Qnil; 310 Vself_insert_face = Qnil;
310 } 311 }
312#endif
311 synt = SYNTAX (c); 313 synt = SYNTAX (c);
312 if ((synt == Sclose || synt == Smath) 314 if ((synt == Sclose || synt == Smath)
313 && !NILP (Vblink_paren_function) && INTERACTIVE) 315 && !NILP (Vblink_paren_function) && INTERACTIVE)