aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/editfns.c b/src/editfns.c
index c08017ded80..7068b358c9e 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -77,7 +77,7 @@ void
77init_editfns () 77init_editfns ()
78{ 78{
79 char *user_name; 79 char *user_name;
80 register unsigned char *p, *q, *r; 80 register unsigned char *p;
81 struct passwd *pw; /* password entry for the current user */ 81 struct passwd *pw; /* password entry for the current user */
82 Lisp_Object tem; 82 Lisp_Object tem;
83 83
@@ -214,7 +214,6 @@ except in the case that `enable-multibyte-characters' is nil.")
214 register Lisp_Object position; 214 register Lisp_Object position;
215{ 215{
216 int pos; 216 int pos;
217 unsigned char *p;
218 217
219 if (MARKERP (position) 218 if (MARKERP (position)
220 && current_buffer == XMARKER (position)->buffer) 219 && current_buffer == XMARKER (position)->buffer)
@@ -619,7 +618,6 @@ If POS is out of range, the value is nil.")
619 Lisp_Object pos; 618 Lisp_Object pos;
620{ 619{
621 register int pos_byte; 620 register int pos_byte;
622 register Lisp_Object val;
623 621
624 if (NILP (pos)) 622 if (NILP (pos))
625 { 623 {
@@ -2350,12 +2348,16 @@ use `save-excursion' outermost:\n\
2350 return unbind_to (count, val); 2348 return unbind_to (count, val);
2351} 2349}
2352 2350
2351#ifndef HAVE_MENUS
2352
2353/* Buffer for the most recent text displayed by Fmessage. */ 2353/* Buffer for the most recent text displayed by Fmessage. */
2354static char *message_text; 2354static char *message_text;
2355 2355
2356/* Allocated length of that buffer. */ 2356/* Allocated length of that buffer. */
2357static int message_length; 2357static int message_length;
2358 2358
2359#endif /* not HAVE_MENUS */
2360
2359DEFUN ("message", Fmessage, Smessage, 1, MANY, 0, 2361DEFUN ("message", Fmessage, Smessage, 1, MANY, 0,
2360 "Print a one-line message at the bottom of the screen.\n\ 2362 "Print a one-line message at the bottom of the screen.\n\
2361The first argument is a format control string, and the rest are data\n\ 2363The first argument is a format control string, and the rest are data\n\
@@ -2495,7 +2497,7 @@ Use %% to put a single % into the output.")
2495 register int total; /* An estimate of the final length */ 2497 register int total; /* An estimate of the final length */
2496 char *buf, *p; 2498 char *buf, *p;
2497 register unsigned char *format, *end; 2499 register unsigned char *format, *end;
2498 int length, nchars; 2500 int nchars;
2499 /* Nonzero if the output should be a multibyte string, 2501 /* Nonzero if the output should be a multibyte string,
2500 which is true if any of the inputs is one. */ 2502 which is true if any of the inputs is one. */
2501 int multibyte = 0; 2503 int multibyte = 0;