From: Gerd Moellmann Date: Mon, 11 Dec 2000 15:21:46 +0000 (+0000) Subject: (Fkey_description): If KEYS is an empty key sequence, X-Git-Tag: emacs-pretest-21.0.93~26 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6e80fddb98809ae5b527e26e585186400c60e88f;p=emacs.git (Fkey_description): If KEYS is an empty key sequence, return an empty string. --- 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.") else keys = wrong_type_argument (Qarrayp, keys); + if (len == 0) + return build_string (""); return Fconcat (len * 2 - 1, args); }