Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* minibuf.c (Fall_completions): Minor optimization.

  • Loading branch information...
commit 9091c6767ef8ec4e84c5407d325cbacd53bcfe2f 1 parent 1086132
Chong Yidong authored
Showing with 8 additions and 4 deletions.
  1. +4 −0 src/ChangeLog
  2. +4 −4 src/minibuf.c
View
4 src/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-27 Chong Yidong <cyd@stupidchicken.com>
+
+ * minibuf.c (Fall_completions): Minor optimization.
+
2009-12-26 Eli Zaretskii <eliz@gnu.org>
* .gdbinit (pgx): Fix display of composite glyphs. Display
View
8 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,
Please sign in to comment.
Something went wrong with that request. Please try again.