emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-24 ad89f85: Another minor improvement in ELisp manua


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 ad89f85: Another minor improvement in ELisp manual (Bug#20168)
Date: Mon, 23 Mar 2015 16:41:21 +0000

branch: emacs-24
commit ad89f85067d068494009948e76f89c902f043513
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Another minor improvement in ELisp manual  (Bug#20168)
    
     doc/lispref/commands.texi (Accessing Mouse): More accurate description
     of 'posn-object-x-y'.
---
 doc/lispref/ChangeLog     |    1 +
 doc/lispref/commands.texi |    5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 970d163..a0a2b2b 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -4,6 +4,7 @@
        (Bug#20174)
        (Accessing Mouse): Expand documentation of 'posn-actual-col-row'.
        (Bug#20169)
+       More accurate description of 'posn-object-x-y'.  (Bug#20168)
 
 2015-03-14  Eli Zaretskii  <address@hidden>
 
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index 6cb032c..b565909 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -2109,8 +2109,9 @@ Return the image or string object in @var{position}, 
either
 @defun posn-object-x-y position
 Return the pixel-based x and y coordinates relative to the upper left
 corner of the object in @var{position} as a cons cell @code{(@var{dx}
-. @var{dy})}.  If the @var{position} is a buffer position, return the
-relative position in the character at that position.
+. @var{dy})}.  If the @var{position} is on buffer text, return the
+relative position of the buffer-text character closest to that
+position.
 @end defun
 
 @defun posn-object-width-height position



reply via email to

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