Mercurial > emacs
comparison src/xdisp.c @ 66742:f8d550ae3b06
Use local var `b' instead of XBUFFER (w->buffer) also when
accessing member cursor_in_non_selected_windows.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 07 Nov 2005 11:55:20 +0000 |
parents | 4e54f245caa7 |
children | cae7b536e570 |
comparison
equal
deleted
inserted
replaced
66741:947d92b6000d | 66742:f8d550ae3b06 |
---|---|
20795 return NO_CURSOR; | 20795 return NO_CURSOR; |
20796 | 20796 |
20797 /* Use cursor-in-non-selected-windows for non-selected window or frame. */ | 20797 /* Use cursor-in-non-selected-windows for non-selected window or frame. */ |
20798 if (non_selected) | 20798 if (non_selected) |
20799 { | 20799 { |
20800 alt_cursor = XBUFFER (w->buffer)->cursor_in_non_selected_windows; | 20800 alt_cursor = b->cursor_in_non_selected_windows; |
20801 return get_specified_cursor_type (alt_cursor, width); | 20801 return get_specified_cursor_type (alt_cursor, width); |
20802 } | 20802 } |
20803 | 20803 |
20804 /* Get the normal cursor type for this window. */ | 20804 /* Get the normal cursor type for this window. */ |
20805 if (EQ (b->cursor_type, Qt)) | 20805 if (EQ (b->cursor_type, Qt)) |