aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2005-06-13 20:49:14 +0000
committerStefan Monnier2005-06-13 20:49:14 +0000
commitb78ab259b1e35e52754fca92eb0f0650690104da (patch)
tree14b95c3b3781e1f9f7611cd92f2538eca4f3ca9c /src
parent737ccba9d952f6a45cce4fda8ba7a9a31f033b4c (diff)
downloademacs-b78ab259b1e35e52754fca92eb0f0650690104da.tar.gz
emacs-b78ab259b1e35e52754fca92eb0f0650690104da.zip
(note_mode_line_or_margin_highlight): Lisp_Object/int mixup.
(get_phys_cursor_geometry, format_mode_line_unwind_data) (get_line_height_property, x_produce_glyphs): Remove unused vars.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index b32f43b97b9..7ce461c1897 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1898,7 +1898,7 @@ get_phys_cursor_geometry (w, row, glyph, heightp)
1898 int *heightp; 1898 int *heightp;
1899{ 1899{
1900 struct frame *f = XFRAME (WINDOW_FRAME (w)); 1900 struct frame *f = XFRAME (WINDOW_FRAME (w));
1901 int x, y, wd, h, h0, y0; 1901 int y, wd, h, h0, y0;
1902 1902
1903 /* Compute the width of the rectangle to draw. If on a stretch 1903 /* Compute the width of the rectangle to draw. If on a stretch
1904 glyph, and `x-stretch-block-cursor' is nil, don't draw a 1904 glyph, and `x-stretch-block-cursor' is nil, don't draw a
@@ -8252,7 +8252,6 @@ static Lisp_Object
8252format_mode_line_unwind_data (obuf) 8252format_mode_line_unwind_data (obuf)
8253 struct buffer *obuf; 8253 struct buffer *obuf;
8254{ 8254{
8255 int i = 0;
8256 Lisp_Object vector; 8255 Lisp_Object vector;
8257 8256
8258 /* Reduce consing by keeping one vector in 8257 /* Reduce consing by keeping one vector in
@@ -19201,7 +19200,7 @@ get_line_height_property (it, prop)
19201 struct it *it; 19200 struct it *it;
19202 Lisp_Object prop; 19201 Lisp_Object prop;
19203{ 19202{
19204 Lisp_Object position, val; 19203 Lisp_Object position;
19205 19204
19206 if (STRINGP (it->object)) 19205 if (STRINGP (it->object))
19207 position = make_number (IT_STRING_CHARPOS (*it)); 19206 position = make_number (IT_STRING_CHARPOS (*it));
@@ -19552,7 +19551,6 @@ x_produce_glyphs (it)
19552 else 19551 else
19553 { 19552 {
19554 Lisp_Object spacing; 19553 Lisp_Object spacing;
19555 int total = 0;
19556 19554
19557 it->phys_ascent = it->ascent; 19555 it->phys_ascent = it->ascent;
19558 it->phys_descent = it->descent; 19556 it->phys_descent = it->descent;
@@ -21574,7 +21572,7 @@ note_mode_line_or_margin_highlight (window, x, y, area)
21574 21572
21575 /* If the re-rendering position is included in the last 21573 /* If the re-rendering position is included in the last
21576 re-rendering area, we should do nothing. */ 21574 re-rendering area, we should do nothing. */
21577 if ( window == dpyinfo->mouse_face_window 21575 if ( EQ (window, dpyinfo->mouse_face_window)
21578 && dpyinfo->mouse_face_beg_col <= vpos 21576 && dpyinfo->mouse_face_beg_col <= vpos
21579 && vpos < dpyinfo->mouse_face_end_col 21577 && vpos < dpyinfo->mouse_face_end_col
21580 && dpyinfo->mouse_face_beg_row == hpos ) 21578 && dpyinfo->mouse_face_beg_row == hpos )