aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-02-02 06:31:06 +0000
committerRichard M. Stallman1996-02-02 06:31:06 +0000
commit1adc55de4a22d4a9bc30a877ba374d8f0f696e64 (patch)
tree93b66f067e18d6e3a00c6346c8c6910951a6d1f3 /src
parent88c4981a92b3321a7592dfae963ec58708d5d857 (diff)
downloademacs-1adc55de4a22d4a9bc30a877ba374d8f0f696e64.tar.gz
emacs-1adc55de4a22d4a9bc30a877ba374d8f0f696e64.zip
Comment/whitespace changes.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c34
1 files changed, 26 insertions, 8 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 23e58d221ce..f96a1862f93 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -228,6 +228,8 @@ static int line_number_display_limit;
228 t means infinite. nil means don't log at all. */ 228 t means infinite. nil means don't log at all. */
229Lisp_Object Vmessage_log_max; 229Lisp_Object Vmessage_log_max;
230 230
231/* Output a newline in the *Messages* buffer if "needs" one. */
232
231void 233void
232message_log_maybe_newline () 234message_log_maybe_newline ()
233{ 235{
@@ -323,7 +325,6 @@ message_dolog (m, len, nlflag)
323 } 325 }
324} 326}
325 327
326
327/* We are at the end of the buffer after just having inserted a newline. 328/* We are at the end of the buffer after just having inserted a newline.
328 (Note: We depend on the fact we won't be crossing the gap.) 329 (Note: We depend on the fact we won't be crossing the gap.)
329 Check to see if the most recent message looks a lot like the previous one. 330 Check to see if the most recent message looks a lot like the previous one.
@@ -361,11 +362,16 @@ message_log_check_duplicate (prev_bol, this_bol)
361 } 362 }
362 return 0; 363 return 0;
363} 364}
364 365
365/* Display an echo area message M with a specified length of LEN chars. 366/* Display an echo area message M with a specified length of LEN chars.
366 The string may include null characters. If m is 0, clear out any 367 The string may include null characters. If M is 0, clear out any
367 existing message, and let the minibuffer text show through. 368 existing message, and let the minibuffer text show through.
368 Do not pass text that is stored in a Lisp string. */ 369
370 The buffer M must continue to exist until after the echo area
371 gets cleared or some other message gets displayed there.
372
373 Do not pass text that is stored in a Lisp string.
374 Do not pass text in a buffer that was alloca'd. */
369 375
370void 376void
371message2 (m, len) 377message2 (m, len)
@@ -380,7 +386,7 @@ message2 (m, len)
380} 386}
381 387
382 388
383/* The non-logging part of that function. */ 389/* The non-logging counterpart of message2. */
384 390
385void 391void
386message2_nolog (m, len) 392message2_nolog (m, len)
@@ -433,6 +439,15 @@ message2_nolog (m, len)
433 (*frame_up_to_date_hook) (f); 439 (*frame_up_to_date_hook) (f);
434 } 440 }
435} 441}
442
443/* Display a null-terminated echo area message M. If M is 0, clear out any
444 existing message, and let the minibuffer text show through.
445
446 The buffer M must continue to exist until after the echo area
447 gets cleared or some other message gets displayed there.
448
449 Do not pass text that is stored in a Lisp string.
450 Do not pass text in a buffer that was alloca'd. */
436 451
437void 452void
438message1 (m) 453message1 (m)
@@ -466,8 +481,9 @@ truncate_echo_area (len)
466 zero if being used by message. */ 481 zero if being used by message. */
467int message_buf_print; 482int message_buf_print;
468 483
469/* Dump an informative message to the minibuf. If m is 0, clear out 484/* Dump an informative message to the minibuf. If M is 0, clear out
470 any existing message, and let the minibuffer text show through. */ 485 any existing message, and let the minibuffer text show through. */
486
471/* VARARGS 1 */ 487/* VARARGS 1 */
472void 488void
473message (m, a1, a2, a3) 489message (m, a1, a2, a3)
@@ -533,7 +549,7 @@ message (m, a1, a2, a3)
533 } 549 }
534} 550}
535 551
536/* The non-logging version of that function. */ 552/* The non-logging version of message. */
537void 553void
538message_nolog (m, a1, a2, a3) 554message_nolog (m, a1, a2, a3)
539 char *m; 555 char *m;
@@ -551,7 +567,7 @@ update_echo_area ()
551{ 567{
552 message2 (echo_area_glyphs, echo_area_glyphs_length); 568 message2 (echo_area_glyphs, echo_area_glyphs_length);
553} 569}
554 570
555static void 571static void
556echo_area_display () 572echo_area_display ()
557{ 573{
@@ -614,6 +630,8 @@ echo_area_display ()
614 630
615 previous_echo_glyphs = echo_area_glyphs; 631 previous_echo_glyphs = echo_area_glyphs;
616} 632}
633
634/* Update frame titles. */
617 635
618#ifdef HAVE_WINDOW_SYSTEM 636#ifdef HAVE_WINDOW_SYSTEM
619static char frame_title_buf[512]; 637static char frame_title_buf[512];