[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 7d15079 2/2: Remove no-longer-needed workaround for
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 7d15079 2/2: Remove no-longer-needed workaround for GC bug |
Date: |
Thu, 22 Aug 2019 01:30:24 -0400 (EDT) |
branch: master
commit 7d15079c7e819dd7862b3f35df16e175802ca7a2
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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!address@hidden,
has not been needed for some time. Problem reported by Pip Cet in:
https://lists.gnu.org/r/emacs-devel/2019-08/msg00316.html
---
src/keymap.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/keymap.c b/src/keymap.c
index 6762915..b1e09a9 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -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;
}