Mercurial > emacs
changeset 61120:8f420e73d2eb
(display_line): Allow multiple overlay arrows in window.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 29 Mar 2005 22:28:27 +0000 |
parents | cc183cb978d4 |
children | ca079ae96939 |
files | src/xdisp.c |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Tue Mar 29 22:28:11 2005 +0000 +++ b/src/xdisp.c Tue Mar 29 22:28:27 2005 +0000 @@ -462,7 +462,7 @@ Lisp_Object Qmenu_bar_update_hook, Vmenu_bar_update_hook; -/* Nonzero if overlay arrow has been displayed once in this window. */ +/* Nonzero if an overlay arrow has been displayed in this window. */ static int overlay_arrow_seen; @@ -15261,10 +15261,9 @@ mark this glyph row as the one containing the overlay arrow. This is clearly a mess with variable size fonts. It would be better to let it be displayed like cursors under X. */ - if (! overlay_arrow_seen - && (overlay_arrow_string - = overlay_arrow_at_row (it, row, &overlay_arrow_bitmap), - !NILP (overlay_arrow_string))) + if ((overlay_arrow_string + = overlay_arrow_at_row (it, row, &overlay_arrow_bitmap), + !NILP (overlay_arrow_string))) { /* Overlay arrow in window redisplay is a fringe bitmap. */ if (STRINGP (overlay_arrow_string))