summaryrefslogtreecommitdiff
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-12-27 08:11:12 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-12-27 08:11:12 +0000
commit11e3c6841270082394ccf01a64af820806d3962f (patch)
tree54bfbfbc3580546254b47a3b83eac283ec08a974 /src/minibuf.c
parent651e932ee3fc3a63894ec2bd69216c912c02254c (diff)
downloademacs-11e3c6841270082394ccf01a64af820806d3962f.tar.gz
* minibuf.c (Fall_completions): Minor optimization.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 3c070d6fbab..7af5c3e1b41 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1647,10 +1647,10 @@ with a space are ignored unless STRING itself starts with a space. */)
&& SCHARS (string) <= SCHARS (eltstring)
/* If HIDE_SPACES, reject alternatives that start with space
unless the input starts with space. */
- && ((SBYTES (string) > 0
- && SREF (string, 0) == ' ')
- || SREF (eltstring, 0) != ' '
- || NILP (hide_spaces))
+ && (NILP (hide_spaces)
+ || (SBYTES (string) > 0
+ && SREF (string, 0) == ' ')
+ || SREF (eltstring, 0) != ' ')
&& (tem = Fcompare_strings (eltstring, zero,
make_number (SCHARS (string)),
string, zero,