HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4591cb9
)
(describe_map): Call Fkey_description before build_string.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 19 Feb 1993 05:43:54 +0000
(
05:43
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 19 Feb 1993 05:43:54 +0000
(
05:43
+0000)
src/keymap.c
patch
|
blob
|
blame
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index
5cfb94f
..
ae5698b
100644
(file)
--- a/
src/keymap.c
+++ b/
src/keymap.c
@@
-1652,8
+1652,12
@@
describe_map (map, keys, partial, shadow)
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;