(Fkey_description): If KEYS is an empty key sequence,
authorGerd Moellmann <gerd@gnu.org>
Mon, 11 Dec 2000 15:21:46 +0000 (15:21 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 11 Dec 2000 15:21:46 +0000 (15:21 +0000)
return an empty string.

src/keymap.c

index f2152d1..68c6733 100644 (file)
@@ -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);
 }