diff options
| author | Richard M. Stallman | 1997-07-08 11:12:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-08 11:12:13 +0000 |
| commit | 21e989e3f52ad317b6dbe1554f8566cdac09f0fb (patch) | |
| tree | bf14884672b41d07357268631ad497cdff4d2d0a /src | |
| parent | 5fc196afb06ebcaef2475b5995f7b8717aadeeb2 (diff) | |
| download | emacs-21e989e3f52ad317b6dbe1554f8566cdac09f0fb.tar.gz emacs-21e989e3f52ad317b6dbe1554f8566cdac09f0fb.zip | |
(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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 9 |
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 () | |||
| 628 | echo_area_glyphs ? echo_area_glyphs : "", | 628 | echo_area_glyphs ? echo_area_glyphs : "", |
| 629 | echo_area_glyphs ? echo_area_glyphs_length : -1, | 629 | echo_area_glyphs ? echo_area_glyphs_length : -1, |
| 630 | FRAME_LEFT_SCROLL_BAR_WIDTH (f), | 630 | FRAME_LEFT_SCROLL_BAR_WIDTH (f), |
| 631 | 0, 0, 0, FRAME_WIDTH (f)); | 631 | 0, 0, 0, |
| 632 | FRAME_WIDTH (f) + FRAME_LEFT_SCROLL_BAR_WIDTH (f)); | ||
| 632 | 633 | ||
| 633 | #if 0 /* This just gets in the way. update_frame does the job. */ | 634 | #if 0 /* This just gets in the way. update_frame does the job. */ |
| 634 | /* If desired cursor location is on this line, put it at end of text */ | 635 | /* If desired cursor location is on this line, put it at end of text */ |
| @@ -649,7 +650,8 @@ echo_area_display () | |||
| 649 | display_string (XWINDOW (mini_window), i, | 650 | display_string (XWINDOW (mini_window), i, |
| 650 | "", 0, | 651 | "", 0, |
| 651 | FRAME_LEFT_SCROLL_BAR_WIDTH (f), | 652 | FRAME_LEFT_SCROLL_BAR_WIDTH (f), |
| 652 | 0, 0, 0, FRAME_WIDTH (f)); | 653 | 0, 0, 0, |
| 654 | FRAME_WIDTH (f) + FRAME_LEFT_SCROLL_BAR_WIDTH (f)); | ||
| 653 | } | 655 | } |
| 654 | } | 656 | } |
| 655 | } | 657 | } |
| @@ -4057,7 +4059,8 @@ decode_mode_spec_coding (coding_system, buf, eol_flag) | |||
| 4057 | if (NILP (val)) /* Not yet decided. */ | 4059 | if (NILP (val)) /* Not yet decided. */ |
| 4058 | { | 4060 | { |
| 4059 | *buf++ = '-'; | 4061 | *buf++ = '-'; |
| 4060 | *buf++ = eol_mnemonic_undecided; | 4062 | if (eol_flag) |
| 4063 | *buf++ = eol_mnemonic_undecided; | ||
| 4061 | /* Don't mention EOL conversion if it isn't decided. */ | 4064 | /* Don't mention EOL conversion if it isn't decided. */ |
| 4062 | } | 4065 | } |
| 4063 | else | 4066 | else |