From 20d555bff78de98a4cde7c04fa24b688b2a1d5cd Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 23 Oct 2021 01:19:48 +0200 Subject: [PATCH] Fix documentation of posn-at-x-y * doc/lispref/commands.texi (Accessing Mouse): Fix documentation of 'posn-at-x-y' to match docstring. (Bug#15783) --- doc/lispref/commands.texi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 3425880fec..6c853a3d23 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi @@ -2354,10 +2354,11 @@ Accessing Mouse coordinates @var{x} and @var{y} in a specified frame or window, @var{frame-or-window}, which defaults to the selected window. The coordinates @var{x} and @var{y} are relative to the -frame or window used. -If @var{whole} is @code{nil}, the coordinates are relative -to the window text area, otherwise they are relative to -the entire window area including scroll bars, margins and fringes. +text area of the selected window. +If @var{whole} is @code{nil}, the @var{x} coordinate is relative to +the entire window area including scroll bars, margins and fringes, +while the @var{y} coordinate remains unchanged and relative to the +text area. @end defun @node Accessing Scroll -- 2.30.2