aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Janík2002-01-13 10:16:17 +0000
committerPavel Janík2002-01-13 10:16:17 +0000
commit5cb6905db7995a43d4a46ad536ba9d5ef1bc0f89 (patch)
tree395cd49edbd9b7532929d2eb85a7b684ba264f54 /src
parent110c171f4d1ff9876c7e74d2e73aeed5b6460b8b (diff)
downloademacs-5cb6905db7995a43d4a46ad536ba9d5ef1bc0f89.tar.gz
emacs-5cb6905db7995a43d4a46ad536ba9d5ef1bc0f89.zip
(read_key_sequence): Remove unused variable `extra_maps'.
Fix typo.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/keyboard.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 69000f91041..989fe29245b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12002-01-13 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2
3 * keyboard.c (read_key_sequence): Remove unused variable
4 `extra_maps'.
5
12002-01-13 Andreas Schwab <schwab@suse.de> 62002-01-13 Andreas Schwab <schwab@suse.de>
2 7
3 * xterm.c (x_load_font): Never set fonts_changed_p to zero. 8 * xterm.c (x_load_font): Never set fonts_changed_p to zero.
diff --git a/src/keyboard.c b/src/keyboard.c
index 3dc879a4e4e..3414f0d2604 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -513,7 +513,7 @@ 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]. */
518static struct input_event *kbd_fetch_ptr; 518static struct input_event *kbd_fetch_ptr;
519 519
@@ -8111,7 +8111,6 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last,
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;