Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
21846016
Commit
21846016
authored
Jan 12, 1998
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fminibuffer_complete_word): Fix a bug of refering
`i'. We must refer `i_byte' instead.
parent
470730a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/minibuf.c
src/minibuf.c
+1
-1
No files found.
src/minibuf.c
View file @
21846016
...
...
@@ -1654,7 +1654,7 @@ Return nil if there is no valid completion, else t.")
buffer_nbytes
=
XSTRING
(
tem
)
->
size_byte
;
/* ie ZV_BYTE - BEGV_BYTE */
completion_nbytes
=
XSTRING
(
completion
)
->
size_byte
;
i_byte
=
buffer_nbytes
-
completion_nbytes
;
if
(
i
>
0
||
if
(
i
_byte
>
0
||
0
<=
scmp
(
buffer_string
,
completion_string
,
buffer_nbytes
))
{
/* Set buffer to longest match of buffer tail and completion head. */
...
...
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