* lisp/pixel-scroll.el (pixel-scroll-precision-scroll-down): Fix
confusion about absolutivity of `window-edges'.
(defun pixel-scroll-precision-scroll-up (delta)
"Scroll the current window up by DELTA pixels."
(let* ((edges (window-edges nil t nil t))
- (max-y (- (nth 3 edges) 1
+ (max-y (- (nth 3 edges)
+ (nth 1 edges)
(window-tab-line-height)
(window-header-line-height)))
- (usable-height (- max-y (nth 1 edges))))
+ (usable-height max-y))
(when-let* ((posn (posn-at-point))
(current-y (+ (cdr (posn-x-y posn))
(line-pixel-height))))