diff options
| author | Kim F. Storm | 2004-11-26 15:14:16 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-11-26 15:14:16 +0000 |
| commit | cfd3af7a4d4585668ace7c318cc2d2a2bdfc687e (patch) | |
| tree | 77a9ff6a52205893841b9b2ba73efb3089d9cc72 /src/fringe.c | |
| parent | 048bb03fe217febab9a5aea884084445cb4364ee (diff) | |
| download | emacs-cfd3af7a4d4585668ace7c318cc2d2a2bdfc687e.tar.gz emacs-cfd3af7a4d4585668ace7c318cc2d2a2bdfc687e.zip | |
(update_window_fringes): Prefer truncation bitmaps over
angle bitmaps at top/bottom line.
Diffstat (limited to 'src/fringe.c')
| -rw-r--r-- | src/fringe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fringe.c b/src/fringe.c index a3e95c390e1..37b3a2cb0ac 100644 --- a/src/fringe.c +++ b/src/fringe.c | |||
| @@ -890,13 +890,13 @@ update_window_fringes (w, force_p) | |||
| 890 | left = row->left_user_fringe_bitmap; | 890 | left = row->left_user_fringe_bitmap; |
| 891 | left_face_id = row->left_user_fringe_face_id; | 891 | left_face_id = row->left_user_fringe_face_id; |
| 892 | } | 892 | } |
| 893 | else if (row->truncated_on_left_p) | ||
| 894 | left = LEFT_TRUNCATION_BITMAP; | ||
| 893 | else if (row->indicate_bob_p && EQ (boundary_top, Qleft)) | 895 | else if (row->indicate_bob_p && EQ (boundary_top, Qleft)) |
| 894 | left = ((row->indicate_eob_p && EQ (boundary_bot, Qleft)) | 896 | left = ((row->indicate_eob_p && EQ (boundary_bot, Qleft)) |
| 895 | ? LEFT_BRACKET_BITMAP : TOP_LEFT_ANGLE_BITMAP); | 897 | ? LEFT_BRACKET_BITMAP : TOP_LEFT_ANGLE_BITMAP); |
| 896 | else if (row->indicate_eob_p && EQ (boundary_bot, Qleft)) | 898 | else if (row->indicate_eob_p && EQ (boundary_bot, Qleft)) |
| 897 | left = BOTTOM_LEFT_ANGLE_BITMAP; | 899 | left = BOTTOM_LEFT_ANGLE_BITMAP; |
| 898 | else if (row->truncated_on_left_p) | ||
| 899 | left = LEFT_TRUNCATION_BITMAP; | ||
| 900 | else if (MATRIX_ROW_CONTINUATION_LINE_P (row)) | 900 | else if (MATRIX_ROW_CONTINUATION_LINE_P (row)) |
| 901 | left = CONTINUATION_LINE_BITMAP; | 901 | left = CONTINUATION_LINE_BITMAP; |
| 902 | else if (row->indicate_empty_line_p && EQ (empty_pos, Qleft)) | 902 | else if (row->indicate_empty_line_p && EQ (empty_pos, Qleft)) |
| @@ -916,13 +916,13 @@ update_window_fringes (w, force_p) | |||
| 916 | right = row->right_user_fringe_bitmap; | 916 | right = row->right_user_fringe_bitmap; |
| 917 | right_face_id = row->right_user_fringe_face_id; | 917 | right_face_id = row->right_user_fringe_face_id; |
| 918 | } | 918 | } |
| 919 | else if (row->truncated_on_right_p) | ||
| 920 | right = RIGHT_TRUNCATION_BITMAP; | ||
| 919 | else if (row->indicate_bob_p && EQ (boundary_top, Qright)) | 921 | else if (row->indicate_bob_p && EQ (boundary_top, Qright)) |
| 920 | right = ((row->indicate_eob_p && EQ (boundary_bot, Qright)) | 922 | right = ((row->indicate_eob_p && EQ (boundary_bot, Qright)) |
| 921 | ? RIGHT_BRACKET_BITMAP : TOP_RIGHT_ANGLE_BITMAP); | 923 | ? RIGHT_BRACKET_BITMAP : TOP_RIGHT_ANGLE_BITMAP); |
| 922 | else if (row->indicate_eob_p && EQ (boundary_bot, Qright)) | 924 | else if (row->indicate_eob_p && EQ (boundary_bot, Qright)) |
| 923 | right = BOTTOM_RIGHT_ANGLE_BITMAP; | 925 | right = BOTTOM_RIGHT_ANGLE_BITMAP; |
| 924 | else if (row->truncated_on_right_p) | ||
| 925 | right = RIGHT_TRUNCATION_BITMAP; | ||
| 926 | else if (row->continued_p) | 926 | else if (row->continued_p) |
| 927 | right = CONTINUED_LINE_BITMAP; | 927 | right = CONTINUED_LINE_BITMAP; |
| 928 | else if (row->indicate_top_line_p && EQ (arrow_top, Qright)) | 928 | else if (row->indicate_top_line_p && EQ (arrow_top, Qright)) |