Improve scrolling of windows whose font is different from frame's default.
lisp/simple.el (default-font-height, window-screen-lines): New functions. (line-move, line-move-partial): Use them instead of frame-char-height and window-text-height. This makes scrolling text smoother when the buffer's default face uses a font that is different from the frame's default font.
Showing
Please register or sign in to comment