aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2002-06-22 21:15:33 +0000
committerStefan Monnier <[email protected]>2002-06-22 21:15:33 +0000
commit93da8435721d0a82bb2d165ab30749ba3e954002 (patch)
tree2b4581ed6825cc95ca61422f01b89b0a8afd4c3e
parentba4c10fd55bc1e855d0827990a999264315d4109 (diff)
Improve comments.
-rw-r--r--src/xdisp.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index a69d01b150..53d45451c2 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -13642,8 +13642,11 @@ Lisp_Object mode_line_proptrans_alist;
PROPS is a property list to add to any string we encounter.
- If RISKY is nonzero, remove (disregard) any properties in any string
- we encounter, and ignore :eval and :propertize. */
+ If RISKY is nonzero, remove (disregard) any properties in any string
+ we encounter, and ignore :eval and :propertize.
+
+ If the global variable `frame_title_ptr' is non-NULL, then the output
+ is passed to `store_frame_title' instead of `display_string'. */
static int
display_mode_element (it, depth, field_width, precision, elt, props, risky)
@@ -15353,7 +15356,8 @@ init_xdisp ()
}
{
- /* Allocate the buffer for frame titles. */
+ /* Allocate the buffer for frame titles.
+ Also used for `format-mode-line'. */
int size = 100;
frame_title_buf = (char *) xmalloc (size);
frame_title_buf_end = frame_title_buf + size;