From 9141ca5e7dd56c6ac375fd41238dfd6e9683917b Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 8 Feb 2008 16:23:19 +0000 Subject: [PATCH] (Fkey_description): Move side effect outside of macro call. --- src/ChangeLog | 2 ++ src/keymap.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 + * 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 { -- 2.39.5