aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2006-01-19 21:12:22 +0000
committerChong Yidong2006-01-19 21:12:22 +0000
commit995f2df9d1c12c73077ecced0530bafa5cf91cf9 (patch)
tree8e50b851b6f4c7d5366b4109bdb9124b37090a9b
parentdc38351b1f9b5fc4b6de694ee53994bb57b3a20c (diff)
downloademacs-995f2df9d1c12c73077ecced0530bafa5cf91cf9.tar.gz
emacs-995f2df9d1c12c73077ecced0530bafa5cf91cf9.zip
* xdisp.c (get_window_cursor_type): Use cursor type specified by
the selected buffer for the echo area too.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c15
2 files changed, 15 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f11b1f23cef..cabf73c9088 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12006-01-19 Chong Yidong <cyd@stupidchicken.com>
2
3 * xdisp.c (get_window_cursor_type): Use cursor type specified by
4 the selected buffer for the echo area too.
5
12006-01-19 Richard M. Stallman <rms@gnu.org> 62006-01-19 Richard M. Stallman <rms@gnu.org>
2 7
3 * keymap.c (Fmap_keymap): Doc fix. 8 * keymap.c (Fmap_keymap): Doc fix.
diff --git a/src/xdisp.c b/src/xdisp.c
index c7d3cf88ecf..e242762dd3e 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -20772,12 +20772,17 @@ get_window_cursor_type (w, glyph, width, active_cursor)
20772 { 20772 {
20773 if (w == XWINDOW (echo_area_window)) 20773 if (w == XWINDOW (echo_area_window))
20774 { 20774 {
20775 *width = FRAME_CURSOR_WIDTH (f); 20775 if (EQ (b->cursor_type, Qt) || NILP (b->cursor_type))
20776 return FRAME_DESIRED_CURSOR (f); 20776 {
20777 } 20777 *width = FRAME_CURSOR_WIDTH (f);
20778 return FRAME_DESIRED_CURSOR (f);
20779 }
20780 else
20781 return get_specified_cursor_type (b->cursor_type, width);
20778 20782
20779 *active_cursor = 0; 20783 *active_cursor = 0;
20780 non_selected = 1; 20784 non_selected = 1;
20785 }
20781 } 20786 }
20782 20787
20783 /* Nonselected window or nonselected frame. */ 20788 /* Nonselected window or nonselected frame. */