changeset 89810:743cb02a49dd

(describe_vector): Handle default value of a char table.
author Kenichi Handa <handa@m17n.org>
date Tue, 10 Feb 2004 11:30:01 +0000
parents c03a2732d0fd
children d13626b05df3
files src/keymap.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Tue Feb 10 11:28:38 2004 +0000
+++ b/src/keymap.c	Tue Feb 10 11:30:01 2004 +0000
@@ -3384,6 +3384,14 @@
       (*elt_describer) (definition, args);
     }
 
+  if (CHAR_TABLE_P (vector) && ! NILP (XCHAR_TABLE (vector)->defalt))
+    {
+      if (!NILP (elt_prefix))
+	insert1 (elt_prefix);
+      insert ("default", 7);
+      (*elt_describer) (XCHAR_TABLE (vector)->defalt, args);
+    }
+
   UNGCPRO;
 }