From 5d6258518e4ba5312fc7d6564bba2232e06bf0a6 Mon Sep 17 00:00:00 2001 From: Nicholas Drozd Date: Wed, 19 Dec 2018 08:55:54 -0800 Subject: [PATCH] * src/editfns.c (Finsert_char): Skip unnecessary fixnum check. --- src/editfns.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/editfns.c b/src/editfns.c index 8df4ed107e9..9bfab74a9a3 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -1471,7 +1471,8 @@ called interactively, INHERIT is t. */) CHECK_CHARACTER (character); if (NILP (count)) XSETFASTINT (count, 1); - CHECK_FIXNUM (count); + else + CHECK_FIXNUM (count); c = XFIXNAT (character); if (!NILP (BVAR (current_buffer, enable_multibyte_characters))) -- 2.39.5