changeset 18142:c9bd973ca168

(Fcopy_keymap): After copying a sub-char-table, do store the copy.
author Richard M. Stallman <rms@gnu.org>
date Wed, 04 Jun 1997 21:21:53 +0000
parents 2628fada589e
children 3584a8182767
files src/keymap.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Wed Jun 04 19:45:17 1997 +0000
+++ b/src/keymap.c	Wed Jun 04 21:21:53 1997 +0000
@@ -712,6 +712,8 @@
 	    = (Lisp_Object *) alloca (3 * sizeof (Lisp_Object));
 
 	  elt = Fcopy_sequence (elt);
+	  XCONS (tail)->car = elt;
+
 	  map_char_table (copy_keymap_1, Qnil, elt, elt, 0, indices);
 	}
       else if (VECTORP (elt))