[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scrolling jumpy when line-spacing > 0
From: |
Eli Zaretskii |
Subject: |
Re: Scrolling jumpy when line-spacing > 0 |
Date: |
Fri, 21 Apr 2017 17:44:46 +0300 |
> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Fri, 21 Apr 2017 18:03:43 +0700
>
> OK, here’s what I came up with, as a kludge.
>
> (defun yk-scroll-up-line ()
> (interactive)
> (let ((last-line-start
> (save-excursion
> (goto-char (window-end))
> (forward-line -1)
> (point)))
Doesn't pos-visible-in-window-p allow you to compute this more
elegantly, without moving point at all?