emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 0c52459: Fix commentary in dispnew.c


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 0c52459: Fix commentary in dispnew.c
Date: Fri, 28 Dec 2018 09:29:40 -0500 (EST)

branch: emacs-26
commit 0c524597b31ae3a948b4fa70014cd3a56fe1fd79
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix commentary in dispnew.c
    
    * src/dispnew.c (buffer_posn_from_coords): Fix inaccuracies in
    the commentary.
---
 src/dispnew.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/dispnew.c b/src/dispnew.c
index d3a3196..dc5fb31 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -5097,13 +5097,15 @@ update_frame_line (struct frame *f, int vpos, bool 
updating_menu_p)
  ***********************************************************************/
 
 /* Determine what's under window-relative pixel position (*X, *Y).
-   Return the OBJECT (string or buffer) that's there.
+   Return the object (string or buffer) that's there.
    Return in *POS the position in that object.
    Adjust *X and *Y to character positions.
+   If an image is shown at the specified position, return
+   in *OBJECT its image-spec.
    Return in *DX and *DY the pixel coordinates of the click,
-   relative to the top left corner of OBJECT, or relative to
+   relative to the top left corner of object, or relative to
    the top left corner of the character glyph at (*X, *Y)
-   if OBJECT is nil.
+   if the object at (*X, *Y) is nil.
    Return WIDTH and HEIGHT of the object at (*X, *Y), or zero
    if the coordinates point to an empty area of the display.  */
 



reply via email to

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