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:
parent
3d418bd46f
commit
8d7bdd7540
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue