diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-09-22 20:45:47 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-09-22 20:45:47 +0300 |
commit | 8816d67c6102876aa09ea7dcb1d0c0541a4315a8 (patch) | |
tree | 15ad506236f23acda5f4649c6843316d10b7ad60 /lisp/thingatpt.el | |
parent | ac6afe9c3386c126b819ff8447b04329ec4b4204 (diff) | |
download | emacs-8816d67c6102876aa09ea7dcb1d0c0541a4315a8.tar.gz emacs-8816d67c6102876aa09ea7dcb1d0c0541a4315a8.tar.bz2 emacs-8816d67c6102876aa09ea7dcb1d0c0541a4315a8.zip |
; Fix recently added documentation
* lisp/thingatpt.el (bounds-of-thing-at-mouse, thing-at-mouse):
Improve and clarify the doc strings.
Diffstat (limited to 'lisp/thingatpt.el')
-rw-r--r-- | lisp/thingatpt.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index 6670857df18..58ef2cfd917 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) |