summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2019-08-02 16:39:53 +0300
committerBasil L. Contovounesios <contovob@tcd.ie>2019-08-02 16:42:38 +0300
commit695fbcf56db5a4336865e64b6d076008c62ce2ef (patch)
tree610a59ae252734187dd0c1f4f29ebe45624270fb /lisp
parent558038ccb76614d60bf54cb62359027d25e00f72 (diff)
downloademacs-695fbcf56db5a4336865e64b6d076008c62ce2ef.tar.gz
; Docfixes for recent browse-url.el additions
* lisp/net/browse-url.el (browse-url-secondary-browser-function) (browse-url-button-copy): Fix punctuation in and clarify docstrings.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/browse-url.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 6382e66f615..79624787012 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -175,10 +175,10 @@ regexp should probably be \".\" to specify a default browser."
(defcustom browse-url-secondary-browser-function 'browse-url-default-browser
"Function used to launch an alternative browser.
-This should usually be an external browser (that is, not eww or
-w3m), used as the secondary browser choice, and is typically used
-when giving a prefix argument to the URL-opening command (in
-those modes that support this (for instance, eww/shr)."
+This is usually an external browser (that is, not eww or w3m),
+used as the secondary browser choice, typically when a prefix
+argument is given to a URL-opening command in those modes that
+support this (for instance, eww/shr)."
:version "27.1"
:type browse-url--browser-defcustom-type)
@@ -1700,7 +1700,7 @@ If `current-prefix-arg' is non-nil, use
(browse-url url)))
(defun browse-url-button-copy ()
- "Copy the URL under point"
+ "Copy the URL under point."
(interactive)
(let ((url (get-text-property (point) 'browse-url-data)))
(unless url