Commit 8d7bdd75 authored by Paul Eggert's avatar Paul Eggert
Browse files

Remove unnecessary blankp code

* src/character.c (blankp): Remove redundant code that slows Emacs
down a bit.  The caller already does the test.
parent 3d418bd4
......@@ -1043,11 +1043,6 @@ printablep (int c)
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment