emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r112848: Fix bug #14540 with inaccura


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112848: Fix bug #14540 with inaccurate doc string of pos-visible-in-window-p.
Date: Tue, 04 Jun 2013 19:33:46 +0300
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 112848
fixes bug: http://debbugs.gnu.org/14540
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Tue 2013-06-04 19:33:46 +0300
message:
  Fix bug #14540 with inaccurate doc string of pos-visible-in-window-p.
  
   src/window.c (Fpos_visible_in_window_p): Doc fix.
modified:
  src/ChangeLog
  src/window.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-06-03 19:28:13 +0000
+++ b/src/ChangeLog     2013-06-04 16:33:46 +0000
@@ -1,3 +1,7 @@
+2013-06-04  Eli Zaretskii  <address@hidden>
+
+       * window.c (Fpos_visible_in_window_p): Doc fix.  (Bug#14540)
+
 2013-06-03  Eli Zaretskii  <address@hidden>
 
        * w32console.c (initialize_w32_display): Return the dimensions of

=== modified file 'src/window.c'
--- a/src/window.c      2013-04-12 17:32:52 +0000
+++ b/src/window.c      2013-06-04 16:33:46 +0000
@@ -1620,12 +1620,13 @@
 defaults to point in WINDOW; WINDOW defaults to the selected window.
 
 If POS is visible, return t if PARTIALLY is nil; if PARTIALLY is non-nil,
-return value is a list of 2 or 6 elements (X Y [RTOP RBOT ROWH VPOS]),
+the return value is a list of 2 or 6 elements (X Y [RTOP RBOT ROWH VPOS]),
 where X and Y are the pixel coordinates relative to the top left corner
 of the window.  The remaining elements are omitted if the character after
 POS is fully visible; otherwise, RTOP and RBOT are the number of pixels
-off-window at the top and bottom of the row, ROWH is the height of the
-display row, and VPOS is the row number (0-based) containing POS.  */)
+off-window at the top and bottom of the screen line ("row") containing
+POS, ROWH is the visible height of that row, and VPOS is the row number
+\(zero-based).  */)
   (Lisp_Object pos, Lisp_Object window, Lisp_Object partially)
 {
   register struct window *w;


reply via email to

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