From 8d7bdd75402557d479ae962cc2f869b402fc65fa Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 8 Jan 2017 10:06:41 -0800 Subject: [PATCH] Remove unnecessary blankp code * src/character.c (blankp): Remove redundant code that slows Emacs down a bit. The caller already does the test. --- src/character.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/character.c b/src/character.c index bc99daf0df0..cf460540725 100644 --- a/src/character.c +++ b/src/character.c @@ -1043,11 +1043,6 @@ printablep (int c) bool blankp (int c) { - /* Fast path for ASCII characters that are always assumed to - constitute horizontal whitespace. */ - if (c == ' ' || c == '\t') - return true; - Lisp_Object category = CHAR_TABLE_REF (Vunicode_category_table, c); if (! INTEGERP (category)) return false; -- 2.39.5