diff options
| author | Joakim Verona | 2011-10-02 09:44:26 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-10-02 09:44:26 +0200 |
| commit | 6ae1821f00fdc051a2c6b41d83afe9151c6093c1 (patch) | |
| tree | 931bee24ca25305ce4d6b4ea0fc48439b85ef6f8 /src/keymap.c | |
| parent | 7a982f9eef56799ebe5857f7b8b3e636c6715090 (diff) | |
| parent | 32c1fffd728cfed8427d144bf7c622257aad859f (diff) | |
| download | emacs-6ae1821f00fdc051a2c6b41d83afe9151c6093c1.tar.gz emacs-6ae1821f00fdc051a2c6b41d83afe9151c6093c1.zip | |
upstream
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 7 |
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 | { |