Fix bug #14771 with scroll-step = 1 and non-nil line-spacing.
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Jul 2013 10:41:38 +0000 (13:41 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 Jul 2013 10:41:38 +0000 (13:41 +0300)
commitfdda022055a1dabf52c2f0aa80ed8599e4db3e10
tree245901dcda86c61d071e4c36f6f43f020b5585ea
parent88c45e34b6626e4deab5e9a139323bf1e4b1c9b3
Fix bug #14771 with scroll-step = 1 and non-nil line-spacing.

 src/xdisp.c (default_line_pixel_height): New function.
 (pos_visible_p, move_it_vertically_backward, try_scrolling)
 (try_cursor_movement, redisplay_window, try_window)
 (try_window_id): Use it instead of FRAME_LINE_HEIGHT.  (Bug#14771)
 src/window.c (window_scroll_pixel_based): use
 default_line_pixel_height.
 src/dispextern.h (default_line_pixel_height): Add prototype.
 src/frame.c (x_set_line_spacing): Accept a float value for
 line-spacing parameter, per the documentation.
src/ChangeLog
src/dispextern.h
src/frame.c
src/window.c
src/xdisp.c