summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-02-25 10:40:13 +0200
committerEli Zaretskii <eliz@gnu.org>2017-02-25 10:40:13 +0200
commiteed96776b1e8640cf6f77e8e3a3247dc4fa8a305 (patch)
tree9a92d791aedc35bd3f573be93cae93787b481bf9
parent0d5957ec6f10d2ab8eeaafb48eb032e8315aaff3 (diff)
downloademacs-eed96776b1e8640cf6f77e8e3a3247dc4fa8a305.tar.gz
Fix doc string of 'posn-at-point'
* src/keyboard.c (Fposn_at_point): Clarify the doc string. (Bug#25796)
-rw-r--r--src/keyboard.c6
1 files changed, 3 insertions, 3 deletions
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. */)