emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 cdbd033: Fix documentation of posn-at-x-y


From: Stefan Kangas
Subject: emacs-28 cdbd033: Fix documentation of posn-at-x-y
Date: Sat, 23 Oct 2021 03:45:44 -0400 (EDT)

branch: emacs-28
commit cdbd03345d57339cce5709cc08fdcd3a96c79ce7
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    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 | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index 3425880..6e1d09e 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



reply via email to

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