changeset 72078:5d973bcbba35

(Links and Mouse-1): For mouse-on-link-p, expand on arg POS.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Sun, 23 Jul 2006 21:20:50 +0000
parents e345212112f0
children 811ddd9e59a1
files lispref/text.texi
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/text.texi	Sun Jul 23 21:13:13 2006 +0000
+++ b/lispref/text.texi	Sun Jul 23 21:20:50 2006 +0000
@@ -3663,7 +3663,8 @@
 
 @defun mouse-on-link-p pos
 This function returns non-@code{nil} if position @var{pos} in the
-current buffer is on a link.
+current buffer is on a link.  @var{pos} can also be a mouse event
+location, as returned by @code{event-start} (@pxref{Accessing Events}).
 @end defun
 
 @node Fields