[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 57df457492 1/2: Improve thing-at-point-url-at-point docstring
From: |
Robert Pluim |
Subject: |
master 57df457492 1/2: Improve thing-at-point-url-at-point docstring |
Date: |
Tue, 8 Feb 2022 11:44:12 -0500 (EST) |
branch: master
commit 57df45749259e2b6fd5f629107a868f0df9725cb
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>
Improve thing-at-point-url-at-point docstring
* lisp/thingatpt.el (thing-at-point-url-at-point): Correct description
of BOUNDS argument.
---
lisp/thingatpt.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el
index 045264528f..5f9ccc094a 100644
--- a/lisp/thingatpt.el
+++ b/lisp/thingatpt.el
@@ -508,14 +508,14 @@ If no URL is found, return nil.
If optional argument LAX is non-nil, look for URLs that are not
well-formed, such as foo@bar or <nobody>.
-If optional arguments BOUNDS are non-nil, it should be a cons
+If optional argument BOUNDS is non-nil, it should be a cons
cell of the form (START . END), containing the beginning and end
positions of the URI. Otherwise, these positions are detected
automatically from the text around point.
If the scheme component is absent, either because a URI delimited
with <url:...> lacks one, or because an ill-formed URI was found
-with LAX or BEG and END, try to add a scheme in the returned URI.
+with LAX or BOUNDS, try to add a scheme in the returned URI.
The scheme is chosen heuristically: \"mailto:\" if the address
looks like an email address, \"ftp://\" if it starts with
\"ftp\", etc."