aboutsummaryrefslogtreecommitdiffstats
path: root/src/fringe.c
diff options
context:
space:
mode:
authorKaroly Lorentey2004-10-07 16:52:19 +0000
committerKaroly Lorentey2004-10-07 16:52:19 +0000
commitc5f80d9d13d6033e5ee75d65bb5383d4d75dc427 (patch)
tree1aa58eeabb309b4460144425f6e5a2ca0ad81eaf /src/fringe.c
parent04ccca970d4a21222cd1f58c7c41983461f009fc (diff)
parenteb6a2b61401ca737487aa7770389c01c0e962cb0 (diff)
downloademacs-c5f80d9d13d6033e5ee75d65bb5383d4d75dc427.tar.gz
emacs-c5f80d9d13d6033e5ee75d65bb5383d4d75dc427.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-593 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-594 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-595 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-596 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-597 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-598 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-599 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-600 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-601 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-602 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-603 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-42 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-43 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-44 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-253
Diffstat (limited to 'src/fringe.c')
-rw-r--r--src/fringe.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/fringe.c b/src/fringe.c
index 529004c7ed8..2da5439b039 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -1348,9 +1348,10 @@ DEFUN ("fringe-bitmaps-at-pos", Ffringe_bitmaps_at_pos, Sfringe_bitmaps_at_pos,
1348 0, 2, 0, 1348 0, 2, 0,
1349 doc: /* Return fringe bitmaps of row containing position POS in window WINDOW. 1349 doc: /* Return fringe bitmaps of row containing position POS in window WINDOW.
1350If WINDOW is nil, use selected window. If POS is nil, use value of point 1350If WINDOW is nil, use selected window. If POS is nil, use value of point
1351in that window. Return value is a cons (LEFT . RIGHT) where LEFT and RIGHT 1351in that window. Return value is a list (LEFT RIGHT OV), where LEFT
1352are the fringe bitmap numbers for the bitmaps in the left and right fringe, 1352is the symbol for the bitmap in the left fringe (or nil if no bitmap),
1353resp. If left or right fringe is empty, the corresponding element is nil. 1353RIGHT is similar for the right fringe, and OV is non-nil if there is an
1354overlay arrow in the left fringe.
1354Return nil if POS is not visible in WINDOW. */) 1355Return nil if POS is not visible in WINDOW. */)
1355 (pos, window) 1356 (pos, window)
1356 Lisp_Object pos, window; 1357 Lisp_Object pos, window;
@@ -1377,8 +1378,9 @@ Return nil if POS is not visible in WINDOW. */)
1377 row = MATRIX_FIRST_TEXT_ROW (w->current_matrix); 1378 row = MATRIX_FIRST_TEXT_ROW (w->current_matrix);
1378 row = row_containing_pos (w, textpos, row, NULL, 0); 1379 row = row_containing_pos (w, textpos, row, NULL, 0);
1379 if (row) 1380 if (row)
1380 return Fcons (get_fringe_bitmap_name (row->left_fringe_bitmap), 1381 return list3 (get_fringe_bitmap_name (row->left_fringe_bitmap),
1381 get_fringe_bitmap_name (row->right_fringe_bitmap)); 1382 get_fringe_bitmap_name (row->right_fringe_bitmap),
1383 (row->overlay_arrow_p ? Qt : Qnil));
1382 else 1384 else
1383 return Qnil; 1385 return Qnil;
1384} 1386}