aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorJoakim Verona2011-10-02 09:44:26 +0200
committerJoakim Verona2011-10-02 09:44:26 +0200
commit6ae1821f00fdc051a2c6b41d83afe9151c6093c1 (patch)
tree931bee24ca25305ce4d6b4ea0fc48439b85ef6f8 /src/keymap.c
parent7a982f9eef56799ebe5857f7b8b3e636c6715090 (diff)
parent32c1fffd728cfed8427d144bf7c622257aad859f (diff)
downloademacs-6ae1821f00fdc051a2c6b41d83afe9151c6093c1.tar.gz
emacs-6ae1821f00fdc051a2c6b41d83afe9151c6093c1.zip
upstream
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 4485080db21..739dfd8f2de 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -2274,10 +2274,11 @@ around function keys and event symbols. */)
2274 2274
2275 if (INTEGERP (key)) /* Normal character */ 2275 if (INTEGERP (key)) /* Normal character */
2276 { 2276 {
2277 char tem[KEY_DESCRIPTION_SIZE]; 2277 char tem[KEY_DESCRIPTION_SIZE], *p;
2278 2278
2279 *push_key_description (XINT (key), tem, 1) = 0; 2279 p = push_key_description (XINT (key), tem, 1);
2280 return build_string (tem); 2280 *p = 0;
2281 return make_specified_string (tem, -1, p - tem, 1);
2281 } 2282 }
2282 else if (SYMBOLP (key)) /* Function key or event-symbol */ 2283 else if (SYMBOLP (key)) /* Function key or event-symbol */
2283 { 2284 {