summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-08-08 18:51:07 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-08-08 18:51:07 +0400
commit656202640dc8857da0373ba690ea193394352ddb (patch)
tree98e88c8e6142a2fc2b0e3fc21f7b31521f870a41 /lisp/emacs-lisp
parent04263d23c5890d728cc62fd64873f687adff620c (diff)
downloademacs-656202640dc8857da0373ba690ea193394352ddb.tar.gz
emacs-656202640dc8857da0373ba690ea193394352ddb.tar.bz2
emacs-656202640dc8857da0373ba690ea193394352ddb.zip
Redesign redisplay interface to drop global variable updated_window.
Always pass currently updated window as a parameter to update routines. * dispextern.h (updated_window): Remove declaration. (struct redisplay_interface): Pass window parameter to write_glyphs, insert_glyphs, clear_end_of_line, cursor_to and after_update_window_hook. (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line, x_cursor_to): Adjust prototypes. * dispnew.c (updated_window): Remove. (redraw_overlapped_rows, update_marginal_area, update_text_area) (update_window_line): Adjust to match redisplay interface changes. * nsterm.m (ns_update_window_begin, ns_update_window_end) (ns_scroll_run, ns_after_update_window_line): * w32term.c (x_update_window_begin, x_update_window_end) (x_after_update_window_line, x_scroll_run): * xterm.c (x_update_window_begin, x_update_window_end) (x_after_update_window_line, x_scroll_run): * xdisp.c (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): Likewise. Adjust comments where appropriate. (x_cursor_to): Simplify because this is always called during window update (but install debugging check anyway). (expose_window): Check must_be_updated_p flag to see whether this function is called during window update.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions