emacs-diffs
[Top][All Lists]
Advanced

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

master 8816d67: ; Fix recently added documentation


From: Eli Zaretskii
Subject: master 8816d67: ; Fix recently added documentation
Date: Wed, 22 Sep 2021 13:46:32 -0400 (EDT)

branch: master
commit 8816d67c6102876aa09ea7dcb1d0c0541a4315a8
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix recently added documentation
    
    * lisp/thingatpt.el (bounds-of-thing-at-mouse, thing-at-mouse):
    Improve and clarify the doc strings.
---
 lisp/thingatpt.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el
index 6670857..58ef2cf 100644
--- a/lisp/thingatpt.el
+++ b/lisp/thingatpt.el
@@ -189,8 +189,8 @@ a symbol as a valid THING."
 
 ;;;###autoload
 (defun bounds-of-thing-at-mouse (event thing)
-  "Determine the start and end locations for the THING at mouse click.
-Like `bounds-of-thing-at-point', but tries to use the EVENT
+  "Determine start and end locations for THING at mouse click given by EVENT.
+Like `bounds-of-thing-at-point', but tries to use the position in EVENT
 where the mouse button is clicked to find the thing nearby."
   (save-excursion
     (mouse-set-point event)
@@ -198,8 +198,8 @@ where the mouse button is clicked to find the thing nearby."
 
 ;;;###autoload
 (defun thing-at-mouse (event thing &optional no-properties)
-  "Return the THING at mouse click.
-Like `thing-at-point', but tries to use the EVENT
+  "Return the THING at mouse click specified by EVENT.
+Like `thing-at-point', but tries to use the position in EVENT
 where the mouse button is clicked to find the thing nearby."
   (save-excursion
     (mouse-set-point event)



reply via email to

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