Mercurial > emacs
comparison src/xdisp.c @ 75370:a28e0446640f
(try_window): Revert previous change.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 21 Jan 2007 23:29:20 +0000 |
parents | 3d45362f1d38 |
children | e52455c55e9d b8d9a391daf3 95d0cdf160ea |
comparison
equal
deleted
inserted
replaced
75369:bcebc53f7880 | 75370:a28e0446640f |
---|---|
13538 struct window *w = XWINDOW (window); | 13538 struct window *w = XWINDOW (window); |
13539 struct it it; | 13539 struct it it; |
13540 struct glyph_row *last_text_row = NULL; | 13540 struct glyph_row *last_text_row = NULL; |
13541 struct frame *f = XFRAME (w->frame); | 13541 struct frame *f = XFRAME (w->frame); |
13542 | 13542 |
13543 /* Clear any existing mouse-face highlights. */ | |
13544 if (FRAME_WINDOW_P (f)) | |
13545 { | |
13546 update_begin (f); | |
13547 rif->clear_window_mouse_face (w); | |
13548 update_end (f); | |
13549 } | |
13550 | |
13551 /* Make POS the new window start. */ | 13543 /* Make POS the new window start. */ |
13552 set_marker_both (w->start, Qnil, CHARPOS (pos), BYTEPOS (pos)); | 13544 set_marker_both (w->start, Qnil, CHARPOS (pos), BYTEPOS (pos)); |
13553 | 13545 |
13554 /* Mark cursor position as unknown. No overlay arrow seen. */ | 13546 /* Mark cursor position as unknown. No overlay arrow seen. */ |
13555 w->cursor.vpos = -1; | 13547 w->cursor.vpos = -1; |