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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user