HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
470730a
)
(Fminibuffer_complete_word): Fix a bug of refering
author
Kenichi Handa
<handa@m17n.org>
Mon, 12 Jan 1998 05:49:45 +0000
(
05:49
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 12 Jan 1998 05:49:45 +0000
(
05:49
+0000)
`i'. We must refer `i_byte' instead.
src/minibuf.c
patch
|
blob
|
blame
|
history
diff --git
a/src/minibuf.c
b/src/minibuf.c
index
8d35b73
..
d55216c
100644
(file)
--- a/
src/minibuf.c
+++ b/
src/minibuf.c
@@
-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. */