aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 5d3602366da..5da63f2f407 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1,5 +1,5 @@
1/* Display generation from window structure and buffer text. 1/* Display generation from window structure and buffer text.
2 Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 99, 2000, 2001, 2002 2 Copyright (C) 1985,86,87,88,93,94,95,97,98,99, 2000, 2001, 2002, 2003
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -5649,6 +5649,16 @@ move_it_by_lines (it, dvpos, need_y_p)
5649 } 5649 }
5650} 5650}
5651 5651
5652/* Return 1 if IT points into the middle of a display vector. */
5653
5654int
5655in_display_vector_p (it)
5656 struct it *it;
5657{
5658 return (it->method == next_element_from_display_vector
5659 && it->current.dpvec_index > 0
5660 && it->dpvec + it->current.dpvec_index != it->dpend);
5661}
5652 5662
5653 5663
5654/*********************************************************************** 5664/***********************************************************************