emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 eed9677 1/2: Fix doc string of 'posn-at-point'


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 eed9677 1/2: Fix doc string of 'posn-at-point'
Date: Sat, 25 Feb 2017 03:42:26 -0500 (EST)

branch: emacs-25
commit eed96776b1e8640cf6f77e8e3a3247dc4fa8a305
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix doc string of 'posn-at-point'
    
    * src/keyboard.c (Fposn_at_point): Clarify the doc string.
    (Bug#25796)
---
 src/keyboard.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/keyboard.c b/src/keyboard.c
index a772a6b..3b6108b 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -10705,13 +10705,13 @@ The `posn-' functions access elements of such lists.  
*/)
 }
 
 DEFUN ("posn-at-point", Fposn_at_point, Sposn_at_point, 0, 2, 0,
-       doc: /* Return position information for buffer POS in WINDOW.
+       doc: /* Return position information for buffer position POS in WINDOW.
 POS defaults to point in WINDOW; WINDOW defaults to the selected window.
 
-Return nil if position is not visible in window.  Otherwise,
+Return nil if POS is not visible in WINDOW.  Otherwise,
 the return value is similar to that returned by `event-start' for
 a mouse click at the upper left corner of the glyph corresponding
-to the given buffer position:
+to the POS:
    (WINDOW AREA-OR-POS (X . Y) TIMESTAMP OBJECT POS (COL . ROW)
     IMAGE (DX . DY) (WIDTH . HEIGHT))
 The `posn-' functions access elements of such lists.  */)



reply via email to

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