# HG changeset patch # User Richard M. Stallman # Date 730100634 0 # Node ID 0ca7640360bdd5c8c49779323cf4425dcd1f8420 # Parent 1ed971f67bfd8812a9bbdf03c36eb0d1af27f524 (describe_map): Call Fkey_description before build_string. diff -r 1ed971f67bfd -r 0ca7640360bd src/keymap.c --- a/src/keymap.c Fri Feb 19 05:06:28 1993 +0000 +++ b/src/keymap.c Fri Feb 19 05:43:54 1993 +0000 @@ -1652,8 +1652,12 @@ register Lisp_Object keysdesc; if (!NILP (keys) && XFASTINT (Flength (keys)) > 0) - keysdesc = concat2 (Fkey_description (keys), - build_string (" ")); + { + Lisp_Object tem; + /* Call Fkey_description first, to avoid GC bug for the other string. */ + tem = Fkey_description (keys); + keysdesc = concat2 (tem, build_string (" ")); + } else keysdesc = Qnil;