diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-03-15 21:53:53 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-03-15 21:53:53 +0000 |
commit | 6ffb8d3e6f0376821f048f41eaaaf39fbae47f62 (patch) | |
tree | e86c94db03616654f4ac2916ae03d36fe18dc69d /src | |
parent | 7b3a6ad4183a99deff0f0bf87af29cd2ac6c65fc (diff) | |
download | emacs-6ffb8d3e6f0376821f048f41eaaaf39fbae47f62.tar.gz |
(internal_self_insert): Do face code only if HAVE_FACES.
Diffstat (limited to 'src')
-rw-r--r-- | src/cmds.c | 2 |
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) 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) |