summaryrefslogtreecommitdiff
path: root/src/cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 9cb287b0296..19073dccf4a 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -503,7 +503,7 @@ internal_self_insert (c, noautofill)
&& PT > BEGV
&& (!NILP (current_buffer->enable_multibyte_characters)
? SYNTAX (XFASTINT (Fprevious_char ())) == Sword
- : (SYNTAX (unibyte_char_to_multibyte (XFASTINT (Fprevious_char ())))
+ : (SYNTAX (UNIBYTE_TO_CHAR (XFASTINT (Fprevious_char ())))
== Sword)))
{
int modiff = MODIFF;