Commit 4ed4b975 authored by Juanma Barranquero's avatar Juanma Barranquero

(read_key_sequence): Don't pass args with side effects to AREF,

it fails when compiling with -DENABLE_CHECKING.
parent 0f71cdf2
2008-02-11 Juanma Barranquero <lekktu@gmail.com>
* w32menu.c (push_submenu_start, push_submenu_end)
(push_left_right_boundary, push_menu_pane, push_menu_item):
* keyboard.c (read_key_sequence): Don't pass args with side effects
to AREF, it fails when compiling with -DENABLE_CHECKING.
2008-02-11 Kenichi Handa <handa@ni.aist.go.jp>
* Makefile.in (${lispsource}international/charprop.el): Delete
this target.
* Makefile.in (${lispsource}international/charprop.el):
Delete this target.
* search.c (boyer_moore): Fix incorrect synching of the trunk and
emacs-unicode-2.
......@@ -75,13 +82,10 @@
* s/gnu-linux.h: Remove commented out code.
* unexec.c: Remove references to obsolete variable
COFF_ENCAPSULATE.
* unexec.c: Remove references to obsolete variable COFF_ENCAPSULATE.
* Makefile.in: Update what RMS says about using autoconf.
(C_COMPILER):
(COFF_ENCAPSULATE):
(MAKE_PARALLEL): Remove obsolete variable.
(C_COMPILER, COFF_ENCAPSULATE, MAKE_PARALLEL): Remove obsolete variable.
(C_SWITCH_MACHINE_1, C_SWITCH_SYSTEM_1, C_SWITCH_SITE_1):
(C_SWITCH_X_SITE_1, C_SWITCH_X_MACHINE_1)
(C_SWITCH_X_SYSTEM_1): Move invariant code outside conditional.
......
......@@ -9590,7 +9590,8 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last,
}
GROW_RAW_KEYBUF;
ASET (raw_keybuf, raw_keybuf_count++, key);
ASET (raw_keybuf, raw_keybuf_count, key);
raw_keybuf_count++;
}
/* Clicks in non-text areas get prefixed by the symbol
......@@ -9617,7 +9618,7 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last,
{
Lisp_Object window, posn;
window = POSN_WINDOW (EVENT_START (key));
window = POSN_WINDOW (EVENT_START (key));
posn = POSN_POSN (EVENT_START (key));
if (CONSP (posn)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment