comparison src/keyboard.c @ 42707:8d5458375774

(read_key_sequence): Remove unused variable `extra_maps'. Fix typo.
author Pavel Janík <Pavel@Janik.cz>
date Sun, 13 Jan 2002 10:14:47 +0000
parents e4c6344ca163
children f03a11bcb718
comparison
equal deleted inserted replaced
42706:be541feb06cc 42707:8d5458375774
511 511
512 static Lisp_Object kbd_buffer_gcpro; 512 static Lisp_Object kbd_buffer_gcpro;
513 513
514 /* Pointer to next available character in kbd_buffer. 514 /* Pointer to next available character in kbd_buffer.
515 If kbd_fetch_ptr == kbd_store_ptr, the buffer is empty. 515 If kbd_fetch_ptr == kbd_store_ptr, the buffer is empty.
516 This may be kbd_buffer + KBD_BUFFER_SIZE, meaning that the the 516 This may be kbd_buffer + KBD_BUFFER_SIZE, meaning that the
517 next available char is in kbd_buffer[0]. */ 517 next available char is in kbd_buffer[0]. */
518 static struct input_event *kbd_fetch_ptr; 518 static struct input_event *kbd_fetch_ptr;
519 519
520 /* Pointer to next place to store character in kbd_buffer. This 520 /* Pointer to next place to store character in kbd_buffer. This
521 may be kbd_buffer + KBD_BUFFER_SIZE, meaning that the next 521 may be kbd_buffer + KBD_BUFFER_SIZE, meaning that the next
8109 if (!NILP (Voverriding_local_map)) 8109 if (!NILP (Voverriding_local_map))
8110 submaps[nmaps++] = Voverriding_local_map; 8110 submaps[nmaps++] = Voverriding_local_map;
8111 } 8111 }
8112 else 8112 else
8113 { 8113 {
8114 int extra_maps = 2;
8115 int nminor; 8114 int nminor;
8116 int total; 8115 int total;
8117 Lisp_Object *maps; 8116 Lisp_Object *maps;
8118 8117
8119 nminor = current_minor_maps (0, &maps); 8118 nminor = current_minor_maps (0, &maps);