From: Dave Love Date: Wed, 3 Jul 2002 22:23:44 +0000 (+0000) Subject: (Fminibuffer_complete_word): Remove unused var. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~590 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2d449de9af9909e4f911a3433ee8a09f28d58501;p=emacs.git (Fminibuffer_complete_word): Remove unused var. (Fself_insert_and_exit): Use CHARACTERP. --- 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. */) i gets index in string of where to stop completing. */ { int len, c; - int bytes = STRING_BYTES (XSTRING (completion)); completion_string = XSTRING (completion)->data; for (; i_byte < STRING_BYTES (XSTRING (completion)); i_byte += len, i++) { @@ -2214,7 +2213,7 @@ DEFUN ("self-insert-and-exit", Fself_insert_and_exit, Sself_insert_and_exit, 0, doc: /* Terminate minibuffer input. */) () { - if (INTEGERP (last_command_char)) + if (CHARACTERP (last_command_char)) internal_self_insert (XINT (last_command_char), 0); else bitch_at_user ();