summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-10-23 09:45:23 +0200
committerStefan Kangas <stefan@marxist.se>2021-10-23 09:45:23 +0200
commitcdbd03345d57339cce5709cc08fdcd3a96c79ce7 (patch)
treef252c6421ff3404a264091501e81cd834e6d6480 /doc
parent598732c89907e4f257d383126cb7f80962b35458 (diff)
downloademacs-cdbd03345d57339cce5709cc08fdcd3a96c79ce7.tar.gz
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)
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/commands.texi7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index 3425880fec5..6e1d09ebb4d 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -2354,10 +2354,9 @@ This function returns position information corresponding to pixel
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{non-nil}, the @var{x} coordinate is relative
+to the entire window area including scroll bars, margins and fringes.
@end defun
@node Accessing Scroll