summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-01-08 10:06:41 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2017-01-08 10:07:00 -0800
commit8d7bdd75402557d479ae962cc2f869b402fc65fa (patch)
treef90be5584d9bdb2d46ef1d34495e40d3ac3764f0 /src
parent3d418bd46fb89bec035394b71fa17ac4bfbebbc5 (diff)
downloademacs-8d7bdd75402557d479ae962cc2f869b402fc65fa.tar.gz
Remove unnecessary blankp code
* src/character.c (blankp): Remove redundant code that slows Emacs down a bit. The caller already does the test.
Diffstat (limited to 'src')
-rw-r--r--src/character.c5
1 files changed, 0 insertions, 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;