diff options
| author | Dave Love | 2002-07-03 22:23:44 +0000 |
|---|---|---|
| committer | Dave Love | 2002-07-03 22:23:44 +0000 |
| commit | 2d449de9af9909e4f911a3433ee8a09f28d58501 (patch) | |
| tree | f3401a7f6c0d91d65f3701dde47cb1b10ee6bfc5 /src | |
| parent | c889d9eb6aa4855601967fe9ed6651c1ecbdbabb (diff) | |
| download | emacs-2d449de9af9909e4f911a3433ee8a09f28d58501.tar.gz emacs-2d449de9af9909e4f911a3433ee8a09f28d58501.zip | |
(Fminibuffer_complete_word): Remove unused var.
(Fself_insert_and_exit): Use CHARACTERP.
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index 37b443d07d6..298aa6c8a5a 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -1969,7 +1969,6 @@ Return nil if there is no valid completion, else t. */) | |||
| 1969 | i gets index in string of where to stop completing. */ | 1969 | i gets index in string of where to stop completing. */ |
| 1970 | { | 1970 | { |
| 1971 | int len, c; | 1971 | int len, c; |
| 1972 | int bytes = STRING_BYTES (XSTRING (completion)); | ||
| 1973 | completion_string = XSTRING (completion)->data; | 1972 | completion_string = XSTRING (completion)->data; |
| 1974 | for (; i_byte < STRING_BYTES (XSTRING (completion)); i_byte += len, i++) | 1973 | for (; i_byte < STRING_BYTES (XSTRING (completion)); i_byte += len, i++) |
| 1975 | { | 1974 | { |
| @@ -2214,7 +2213,7 @@ DEFUN ("self-insert-and-exit", Fself_insert_and_exit, Sself_insert_and_exit, 0, | |||
| 2214 | doc: /* Terminate minibuffer input. */) | 2213 | doc: /* Terminate minibuffer input. */) |
| 2215 | () | 2214 | () |
| 2216 | { | 2215 | { |
| 2217 | if (INTEGERP (last_command_char)) | 2216 | if (CHARACTERP (last_command_char)) |
| 2218 | internal_self_insert (XINT (last_command_char), 0); | 2217 | internal_self_insert (XINT (last_command_char), 0); |
| 2219 | else | 2218 | else |
| 2220 | bitch_at_user (); | 2219 | bitch_at_user (); |