Mercurial > emacs
diff src/keymap.c @ 46470:00b425333e0d
(Fdescribe_buffer_bindings): Use const for pointer to
lisp string data.
| author | Ken Raeburn <raeburn@raeburn.org> |
|---|---|
| date | Tue, 16 Jul 2002 19:48:37 +0000 |
| parents | 40db0673e6f0 |
| children | 435da46787dd |
line wrap: on
line diff
--- a/src/keymap.c Tue Jul 16 19:48:34 2002 +0000 +++ b/src/keymap.c Tue Jul 16 19:48:37 2002 +0000 @@ -2659,7 +2659,7 @@ 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++)
