diff options
| author | Gerd Moellmann | 2000-12-11 15:21:46 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-12-11 15:21:46 +0000 |
| commit | 6e80fddb98809ae5b527e26e585186400c60e88f (patch) | |
| tree | 79c0f576b05dd250146a0b02eafd67da86764422 /src | |
| parent | 4db873808f5abb3a8a25dff0c9efa8f39ec2af89 (diff) | |
| download | emacs-6e80fddb98809ae5b527e26e585186400c60e88f.tar.gz emacs-6e80fddb98809ae5b527e26e585186400c60e88f.zip | |
(Fkey_description): If KEYS is an empty key sequence,
return an empty string.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keymap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keymap.c b/src/keymap.c index f2152d17202..68c673380c8 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1766,6 +1766,8 @@ spaces are put between sequence elements, etc.") | |||
| 1766 | else | 1766 | else |
| 1767 | keys = wrong_type_argument (Qarrayp, keys); | 1767 | keys = wrong_type_argument (Qarrayp, keys); |
| 1768 | 1768 | ||
| 1769 | if (len == 0) | ||
| 1770 | return build_string (""); | ||
| 1769 | return Fconcat (len * 2 - 1, args); | 1771 | return Fconcat (len * 2 - 1, args); |
| 1770 | } | 1772 | } |
| 1771 | 1773 | ||