diff options
| author | Ken Raeburn | 2002-07-16 19:48:51 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-07-16 19:48:51 +0000 |
| commit | 27883fdd3a23ab1fbd0f39c794cd73ea43252589 (patch) | |
| tree | 05fde3ebc14c9c246a26bee990a1b1d138b6d612 /src | |
| parent | 4b2dd2749b41ff287fe4dcd9bf0a6484e0b33027 (diff) | |
| download | emacs-27883fdd3a23ab1fbd0f39c794cd73ea43252589.tar.gz emacs-27883fdd3a23ab1fbd0f39c794cd73ea43252589.zip | |
(temp_echo_area_glyphs): String pointer args now
point to const.
(Fminibuffer_complete_word): Use const for pointer to
lisp string data.
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index 87cdcea4522..eeaad5583e6 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -1942,7 +1942,7 @@ Return nil if there is no valid completion, else t. */) | |||
| 1942 | { | 1942 | { |
| 1943 | Lisp_Object completion, tem, tem1; | 1943 | Lisp_Object completion, tem, tem1; |
| 1944 | register int i, i_byte; | 1944 | register int i, i_byte; |
| 1945 | register unsigned char *completion_string; | 1945 | register const unsigned char *completion_string; |
| 1946 | struct gcpro gcpro1, gcpro2; | 1946 | struct gcpro gcpro1, gcpro2; |
| 1947 | int prompt_end_charpos = XINT (Fminibuffer_prompt_end ()); | 1947 | int prompt_end_charpos = XINT (Fminibuffer_prompt_end ()); |
| 1948 | 1948 | ||
| @@ -2365,7 +2365,7 @@ If no minibuffer is active, return nil. */) | |||
| 2365 | 2365 | ||
| 2366 | void | 2366 | void |
| 2367 | temp_echo_area_glyphs (m) | 2367 | temp_echo_area_glyphs (m) |
| 2368 | char *m; | 2368 | const char *m; |
| 2369 | { | 2369 | { |
| 2370 | int osize = ZV; | 2370 | int osize = ZV; |
| 2371 | int osize_byte = ZV_BYTE; | 2371 | int osize_byte = ZV_BYTE; |