Remove no-longer-needed workaround for GC bug
* src/keymap.c (describe_vector): Remove old workaround for GC bug. This workaround, introduced in 1993-02-19T05:43:54Z!rms@gnu.org, has not been needed for some time. Problem reported by Pip Cet in: https://lists.gnu.org/r/emacs-devel/2019-08/msg00316.html
This commit is contained in:
@@ -3371,12 +3371,10 @@ describe_vector (Lisp_Object vector, Lisp_Object prefix, Lisp_Object args,
|
||||
|
||||
if (!keymap_p)
|
||||
{
|
||||
/* Call Fkey_description first, to avoid GC bug for the other string. */
|
||||
if (!NILP (prefix) && XFIXNAT (Flength (prefix)) > 0)
|
||||
{
|
||||
Lisp_Object tem = Fkey_description (prefix, Qnil);
|
||||
AUTO_STRING (space, " ");
|
||||
elt_prefix = concat2 (tem, space);
|
||||
elt_prefix = concat2 (Fkey_description (prefix, Qnil), space);
|
||||
}
|
||||
prefix = Qnil;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user