]> git.eshelyaron.com Git - emacs.git/commitdiff
; Docfixes for recent browse-url.el additions
authorBasil L. Contovounesios <contovob@tcd.ie>
Fri, 2 Aug 2019 13:39:53 +0000 (16:39 +0300)
committerBasil L. Contovounesios <contovob@tcd.ie>
Fri, 2 Aug 2019 13:42:38 +0000 (16:42 +0300)
* lisp/net/browse-url.el (browse-url-secondary-browser-function)
(browse-url-button-copy): Fix punctuation in and clarify docstrings.

lisp/net/browse-url.el

index 6382e66f615603acf5fd483bc44558fcd8d4c3b2..79624787012a1bcc1b7eb751730411f2e7737db6 100644 (file)
@@ -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