From eed96776b1e8640cf6f77e8e3a3247dc4fa8a305 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 25 Feb 2017 10:40:13 +0200 Subject: 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(-) (limited to 'src/keyboard.c') diff --git a/src/keyboard.c b/src/keyboard.c index a772a6b6784..3b6108bc99e 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. */) -- cgit v1.2.1 From c1ed1525c6a6eecd243e059b461f3793b55f3ebd Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 25 Feb 2017 10:41:21 +0200 Subject: ; * src/keyboard.c (Fposn_at_point): Fix last change. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/keyboard.c') diff --git a/src/keyboard.c b/src/keyboard.c index 3b6108bc99e..1b8db6ae731 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -10711,7 +10711,7 @@ POS defaults to point in WINDOW; WINDOW defaults to the selected window. 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 POS: +to 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. */) -- cgit v1.2.1