emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 c53135b: Clarify documentation of 'mouse-on-link-


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 c53135b: Clarify documentation of 'mouse-on-link-p'
Date: Thu, 7 Jul 2016 16:15:42 +0000 (UTC)

branch: emacs-25
commit c53135b6b64a32ccde324140437377e24dd32bf8
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Clarify documentation of 'mouse-on-link-p'
    
    * lisp/mouse.el (mouse-on-link-p): Clarify the form of the POS
    argument.  (Bug#23899)
---
 lisp/mouse.el |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/mouse.el b/lisp/mouse.el
index 64ee796..27f2acb 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -718,8 +718,9 @@ its value is returned."
 
 (defun mouse-on-link-p (pos)
   "Return non-nil if POS is on a link in the current buffer.
-POS must be a buffer position in the current buffer or a mouse
-event location in the selected window (see `event-start').
+POS must specify a buffer position in the current buffer, as a list
+of the form returned by the `event-start' and `event-end' functions,
+or a mouse event location in the selected window (see `event-start').
 However, if `mouse-1-click-in-non-selected-windows' is non-nil,
 POS may be a mouse event location in any window.
 



reply via email to

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