aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2012-06-10 21:20:58 +0800
committerChong Yidong2012-06-10 21:20:58 +0800
commit31ca4639ad1bfaa355a3f30ef92eb977bd2c6b78 (patch)
tree77814646f8df2d6c463fe0052ff25f8635d410b5 /src
parentc758c4fd178a3778b7e6f235af41a898a8e7b972 (diff)
parentedcdbe4d3121ac663c2c72fce5b69a59c86ecaa1 (diff)
downloademacs-31ca4639ad1bfaa355a3f30ef92eb977bd2c6b78.tar.gz
emacs-31ca4639ad1bfaa355a3f30ef92eb977bd2c6b78.zip
Merge from emacs-24; up to 2012-04-25T15:23:19Z!sdl.web@gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index b877bf9965a..6e070f3dbef 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -2205,7 +2205,11 @@ struct it
2205 struct display_pos current; 2205 struct display_pos current;
2206 2206
2207 /* Total number of overlay strings to process. This can be > 2207 /* Total number of overlay strings to process. This can be >
2208 OVERLAY_STRING_CHUNK_SIZE. */ 2208 OVERLAY_STRING_CHUNK_SIZE. Value is dependable only when
2209 current.overlay_string_index >= 0. Use the latter to determine
2210 whether an overlay string is being iterated over, because
2211 n_overlay_strings can be positive even when we are not rendering
2212 an overlay string. */
2209 ptrdiff_t n_overlay_strings; 2213 ptrdiff_t n_overlay_strings;
2210 2214
2211 /* The charpos where n_overlay_strings was calculated. This should 2215 /* The charpos where n_overlay_strings was calculated. This should
@@ -2224,7 +2228,8 @@ struct it
2224 2228
2225 /* If non-nil, a Lisp string being processed. If 2229 /* If non-nil, a Lisp string being processed. If
2226 current.overlay_string_index >= 0, this is an overlay string from 2230 current.overlay_string_index >= 0, this is an overlay string from
2227 pos. */ 2231 pos. Use STRINGP (it.string) to test whether we are rendering a
2232 string or something else; do NOT use BUFFERP (it.object). */
2228 Lisp_Object string; 2233 Lisp_Object string;
2229 2234
2230 /* If non-nil, we are processing a string that came 2235 /* If non-nil, we are processing a string that came
@@ -2413,6 +2418,9 @@ struct it
2413 and continuation glyphs, or blanks that extend each line to the 2418 and continuation glyphs, or blanks that extend each line to the
2414 edge of the window on a TTY. 2419 edge of the window on a TTY.
2415 2420
2421 Do NOT use !BUFFERP (it.object) as a test whether we are
2422 iterating over a string; use STRINGP (it.string) instead.
2423
2416 Position is the current iterator position in object. */ 2424 Position is the current iterator position in object. */
2417 Lisp_Object object; 2425 Lisp_Object object;
2418 struct text_pos position; 2426 struct text_pos position;