diff options
| author | Eli Zaretskii | 2018-12-28 16:28:51 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-12-28 16:28:51 +0200 |
| commit | 0c524597b31ae3a948b4fa70014cd3a56fe1fd79 (patch) | |
| tree | 2762da1103b89c84e8816c97ee219da5b1ae8561 /src/dispnew.c | |
| parent | c9fdd1b4965ebd02aa408f878320c4955f5e2cc7 (diff) | |
| download | emacs-0c524597b31ae3a948b4fa70014cd3a56fe1fd79.tar.gz emacs-0c524597b31ae3a948b4fa70014cd3a56fe1fd79.zip | |
Fix commentary in dispnew.c
* src/dispnew.c (buffer_posn_from_coords): Fix inaccuracies in
the commentary.
Diffstat (limited to 'src/dispnew.c')
| -rw-r--r-- | src/dispnew.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index d3a31967ae0..dc5fb31485e 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) | |||
| 5097 | ***********************************************************************/ | 5097 | ***********************************************************************/ |
| 5098 | 5098 | ||
| 5099 | /* Determine what's under window-relative pixel position (*X, *Y). | 5099 | /* Determine what's under window-relative pixel position (*X, *Y). |
| 5100 | Return the OBJECT (string or buffer) that's there. | 5100 | Return the object (string or buffer) that's there. |
| 5101 | Return in *POS the position in that object. | 5101 | Return in *POS the position in that object. |
| 5102 | Adjust *X and *Y to character positions. | 5102 | Adjust *X and *Y to character positions. |
| 5103 | If an image is shown at the specified position, return | ||
| 5104 | in *OBJECT its image-spec. | ||
| 5103 | Return in *DX and *DY the pixel coordinates of the click, | 5105 | Return in *DX and *DY the pixel coordinates of the click, |
| 5104 | relative to the top left corner of OBJECT, or relative to | 5106 | relative to the top left corner of object, or relative to |
| 5105 | the top left corner of the character glyph at (*X, *Y) | 5107 | the top left corner of the character glyph at (*X, *Y) |
| 5106 | if OBJECT is nil. | 5108 | if the object at (*X, *Y) is nil. |
| 5107 | Return WIDTH and HEIGHT of the object at (*X, *Y), or zero | 5109 | Return WIDTH and HEIGHT of the object at (*X, *Y), or zero |
| 5108 | if the coordinates point to an empty area of the display. */ | 5110 | if the coordinates point to an empty area of the display. */ |
| 5109 | 5111 | ||