changeset 34442:57d320641b64

(Fkey_description): If KEYS is an empty key sequence, return an empty string.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 11 Dec 2000 15:21:46 +0000
parents 3fdc6106c2a1
children 599c8d8e833a
files src/keymap.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Mon Dec 11 14:50:29 2000 +0000
+++ b/src/keymap.c	Mon Dec 11 15:21:46 2000 +0000
@@ -1766,6 +1766,8 @@
   else
     keys = wrong_type_argument (Qarrayp, keys);
 
+  if (len == 0)
+    return build_string ("");
   return Fconcat (len * 2 - 1, args);
 }