summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-05-30 12:33:08 +0300
committerEli Zaretskii <eliz@gnu.org>2015-05-30 12:33:08 +0300
commitba5f83dfe5dea1b9dd3fca5d21384afc92cd2060 (patch)
treebf55bb0fd8a2fcdd59636ff5108bf11f1315f89b /lisp/emacs-lisp/byte-run.el
parent42a7b12bc774e1e211204f90aed77c9ca6ffd158 (diff)
downloademacs-ba5f83dfe5dea1b9dd3fca5d21384afc92cd2060.tar.gz
emacs-ba5f83dfe5dea1b9dd3fca5d21384afc92cd2060.tar.bz2
emacs-ba5f83dfe5dea1b9dd3fca5d21384afc92cd2060.zip
Fix display of cursor at end of empty lines
* src/xdisp.c (normal_char_ascent_descent): Accept additional argument: the character to use for metrics in case the font declares too large ascent and descent values. Add 1 pixel to ascent and descent values. (normal_char_height): Accept additional argument: the character to use for metrics in case the font declares too large height value. Call normal_char_ascent_descent instead of doing calculations for a different default character. (estimate_mode_line_height, handle_single_display_spec) (calc_pixel_width_or_height, produce_stretch_glyph) (calc_line_height_property, produce_glyphless_glyph): All callers changed. (append_space_for_newline): Make sure the space glyph produced at end of line has correct ascent and descent values, and the glyph row has correct height, even when it's empty.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions