Remove unnecessary blankp code

* src/character.c (blankp): Remove redundant code that slows Emacs
down a bit.  The caller already does the test.
This commit is contained in:
Paul Eggert 2017-01-08 10:06:41 -08:00
parent 3d418bd46f
commit 8d7bdd7540

View file

@ -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;