aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/xdisp.c18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 1940d16a013..842277039d4 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -20171,11 +20171,19 @@ redisplay_window (Lisp_Object window, bool just_this_one_p)
20171 buffer position POS. 20171 buffer position POS.
20172 20172
20173 Value is 1 if successful. It is zero if fonts were loaded during 20173 Value is 1 if successful. It is zero if fonts were loaded during
20174 redisplay which makes re-adjusting glyph matrices necessary, and -1 20174 redisplay or the dimensions of the desired matrix were found
20175 if point would appear in the scroll margins. 20175 insufficient, which makes re-adjusting glyph matrices necessary.
20176 (We check the former only if TRY_WINDOW_IGNORE_FONTS_CHANGE is 20176 Value is -1 if point would appear in the scroll margins. (We check
20177 unset in FLAGS, and the latter only if TRY_WINDOW_CHECK_MARGINS is 20177 the former only if TRY_WINDOW_IGNORE_FONTS_CHANGE is unset in
20178 set in FLAGS.) */ 20178 FLAGS, and the latter only if TRY_WINDOW_CHECK_MARGINS is set in
20179 FLAGS.)
20180
20181 Note that 'x-show-tip' invokes this function in a special way, and
20182 in that case the return value of zero doesn't necessarily mean the
20183 glyph matrices need to be re-adjusted, if the entire text of the
20184 tooltip was processed and has its glyphs in the matrix's glyph
20185 rows, i.e. if the dimensions of the matrix were found insufficient
20186 while producing empty glyph rows beyond ZV. */
20179 20187
20180int 20188int
20181try_window (Lisp_Object window, struct text_pos pos, int flags) 20189try_window (Lisp_Object window, struct text_pos pos, int flags)