Commit ad89f850 authored by Eli Zaretskii's avatar Eli Zaretskii

Another minor improvement in ELisp manual (Bug#20168)

 doc/lispref/commands.texi (Accessing Mouse): More accurate description
 of 'posn-object-x-y'.
parent 5e2951be
......@@ -4,6 +4,7 @@
(Accessing Mouse): Expand documentation of 'posn-actual-col-row'.
More accurate description of 'posn-object-x-y'. (Bug#20168)
2015-03-14 Eli Zaretskii <>
......@@ -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
@end defun
@defun posn-object-width-height position
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment