changeset 88830:2bf7fdb1e66e

(Fminibuffer_complete_word): Remove unused var. (Fself_insert_and_exit): Use CHARACTERP.
author Dave Love <fx@gnu.org>
date Wed, 03 Jul 2002 22:23:44 +0000
parents 2a5f7abf2aad
children 883ff81d531d
files src/minibuf.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Wed Jul 03 22:20:52 2002 +0000
+++ b/src/minibuf.c	Wed Jul 03 22:23:44 2002 +0000
@@ -1969,7 +1969,6 @@
      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 @@
        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 ();