emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 1c4b1ce8fa7 2/2: Improve documentation of p-s-p-scroll-down-page


From: Po Lu
Subject: master 1c4b1ce8fa7 2/2: Improve documentation of p-s-p-scroll-down-page
Date: Sat, 11 May 2024 02:43:06 -0400 (EDT)

branch: master
commit 1c4b1ce8fa7c752454c144d78d8ae14ee88150d3
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Improve documentation of p-s-p-scroll-down-page
    
    * lisp/pixel-scroll.el
    (pixel-scroll-precision-scroll-down-page): Document unit in
    which the height of the window is measured, and what manner of
    height applies.  Reported by Eli Zaretskii <eliz@gnu.org>.
---
 lisp/pixel-scroll.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/pixel-scroll.el b/lisp/pixel-scroll.el
index 20c7f3fe596..1f963ee8114 100644
--- a/lisp/pixel-scroll.el
+++ b/lisp/pixel-scroll.el
@@ -502,7 +502,7 @@ Otherwise, redisplay will reset the window's vscroll."
 (defun pixel-scroll-precision-scroll-down-page (delta)
   "Scroll the current window down by DELTA pixels.
 Note that this function doesn't work if DELTA is larger than or
-equal to the height of the current window."
+equal to the text height of the current window in pixels."
   (let* ((desired-pos (posn-at-x-y 0 (+ delta
                                        (window-tab-line-height)
                                        (window-header-line-height))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]