diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-02-08 16:23:19 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-02-08 16:23:19 +0000 |
commit | 9141ca5e7dd56c6ac375fd41238dfd6e9683917b (patch) | |
tree | ec5ad46ac8b8682dd956a9338f21f133d7be5bb7 /src | |
parent | b1ebcadbe27ce4027e8eb836ddd9fa318668d678 (diff) | |
download | emacs-9141ca5e7dd56c6ac375fd41238dfd6e9683917b.tar.gz |
(Fkey_description): Move side effect outside of macro call.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 2 | ||||
-rw-r--r-- | src/keymap.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6e7b6239148..516e1b46961 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca> + * keymap.c (Fkey_description): Move side effect outside of macro call. + * keyboard.c (add_command_key, parse_menu_item): Use ASET. * fontset.c (free_face_fontset): Use FONTSET_FROM_ID. diff --git a/src/keymap.c b/src/keymap.c index 1cb481fc050..e91df88aaff 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -2304,7 +2304,7 @@ spaces are put between sequence elements, etc. */) } else if (VECTORP (list)) { - key = AREF (list, i++); + key = AREF (list, i); i++; } else { |