(Fdescribe_buffer_bindings): Use const for pointer to
authorKen Raeburn <raeburn@raeburn.org>
Tue, 16 Jul 2002 19:48:37 +0000 (19:48 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Tue, 16 Jul 2002 19:48:37 +0000 (19:48 +0000)
lisp string data.

src/keymap.c

index 21c3bbd..6e5eec9 100644 (file)
@@ -2659,7 +2659,7 @@ You type        Translation\n\
   if (STRINGP (Vkeyboard_translate_table) && !NILP (prefix))
     {
       int c;
-      unsigned char *translate = SDATA (Vkeyboard_translate_table);
+      const unsigned char *translate = SDATA (Vkeyboard_translate_table);
       int translate_len = SCHARS (Vkeyboard_translate_table);
 
       for (c = 0; c < translate_len; c++)