Mercurial > emacs
changeset 46473:a3056dbb032b
(temp_echo_area_glyphs): String pointer args now
point to const.
(Fminibuffer_complete_word): Use const for pointer to
lisp string data.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Tue, 16 Jul 2002 19:48:51 +0000 |
parents | c246e05b9c70 |
children | e01b3a5fd791 |
files | src/minibuf.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/minibuf.c Tue Jul 16 19:48:47 2002 +0000 +++ b/src/minibuf.c Tue Jul 16 19:48:51 2002 +0000 @@ -1942,7 +1942,7 @@ { Lisp_Object completion, tem, tem1; register int i, i_byte; - register unsigned char *completion_string; + register const unsigned char *completion_string; struct gcpro gcpro1, gcpro2; int prompt_end_charpos = XINT (Fminibuffer_prompt_end ()); @@ -2365,7 +2365,7 @@ void temp_echo_area_glyphs (m) - char *m; + const char *m; { int osize = ZV; int osize_byte = ZV_BYTE;