mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-21 10:24:55 +00:00
(temp_echo_area_glyphs): String pointer args now
point to const. (Fminibuffer_complete_word): Use const for pointer to lisp string data.
This commit is contained in:
parent
4b2dd2749b
commit
27883fdd3a
@ -1942,7 +1942,7 @@ Return nil if there is no valid completion, else t. */)
|
||||
{
|
||||
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 @@ If no minibuffer is active, return nil. */)
|
||||
|
||||
void
|
||||
temp_echo_area_glyphs (m)
|
||||
char *m;
|
||||
const char *m;
|
||||
{
|
||||
int osize = ZV;
|
||||
int osize_byte = ZV_BYTE;
|
||||
|
Loading…
Reference in New Issue
Block a user