Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
11e3c684
Commit
11e3c684
authored
Dec 27, 2009
by
Chong Yidong
Browse files
* minibuf.c (Fall_completions): Minor optimization.
parent
651e932e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
src/ChangeLog
src/ChangeLog
+4
-0
src/minibuf.c
src/minibuf.c
+4
-4
No files found.
src/ChangeLog
View file @
11e3c684
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
...
...
src/minibuf.c
View file @
11e3c684
...
...
@@ -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
(
elt
string
,
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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment