summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-08 11:12:13 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-08 11:12:13 +0000
commit21e989e3f52ad317b6dbe1554f8566cdac09f0fb (patch)
treebf14884672b41d07357268631ad497cdff4d2d0a
parent5fc196afb06ebcaef2475b5995f7b8717aadeeb2 (diff)
downloademacs-21e989e3f52ad317b6dbe1554f8566cdac09f0fb.tar.gz
(decode_mode_spec_coding): Really don't display
EOL indicator when eol_flag is 0. (echo_area_display): Use proper width when scroll bars on left.
-rw-r--r--src/xdisp.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index cb45b92b3e5..8260c83a5c4 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -628,7 +628,8 @@ echo_area_display ()
echo_area_glyphs ? echo_area_glyphs : "",
echo_area_glyphs ? echo_area_glyphs_length : -1,
FRAME_LEFT_SCROLL_BAR_WIDTH (f),
- 0, 0, 0, FRAME_WIDTH (f));
+ 0, 0, 0,
+ FRAME_WIDTH (f) + FRAME_LEFT_SCROLL_BAR_WIDTH (f));
#if 0 /* This just gets in the way. update_frame does the job. */
/* If desired cursor location is on this line, put it at end of text */
@@ -649,7 +650,8 @@ echo_area_display ()
display_string (XWINDOW (mini_window), i,
"", 0,
FRAME_LEFT_SCROLL_BAR_WIDTH (f),
- 0, 0, 0, FRAME_WIDTH (f));
+ 0, 0, 0,
+ FRAME_WIDTH (f) + FRAME_LEFT_SCROLL_BAR_WIDTH (f));
}
}
}
@@ -4057,7 +4059,8 @@ decode_mode_spec_coding (coding_system, buf, eol_flag)
if (NILP (val)) /* Not yet decided. */
{
*buf++ = '-';
- *buf++ = eol_mnemonic_undecided;
+ if (eol_flag)
+ *buf++ = eol_mnemonic_undecided;
/* Don't mention EOL conversion if it isn't decided. */
}
else