aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii2014-08-05 16:34:06 +0300
committerEli Zaretskii2014-08-05 16:34:06 +0300
commit5818408f5029ae6c26fa329104d1126b2322b356 (patch)
treeea4152b1d4937d16b46361040038277dd9877344 /src/buffer.c
parent1d58ab89ca6eb1f87a812e23ffca210e15c4fb5f (diff)
downloademacs-5818408f5029ae6c26fa329104d1126b2322b356.tar.gz
emacs-5818408f5029ae6c26fa329104d1126b2322b356.zip
Fix bug #18195 with inaccurate results from window-screen-lines.
lisp/simple.el (default-line-height): A floating-point value of line-spacing means a fraction of the default frame font's height, not of the font currently used by the 'default' face. Truncate the pixel value, like the display engine does. (window-screen-lines): Use window-inside-pixel-edges for determining the window height in pixels.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions