Fixed style issue (thanks flycheck)
[elpher.git] / elpher.el
index 6049d0d..16b4cba 100644 (file)
--- a/elpher.el
+++ b/elpher.el
@@ -622,13 +622,15 @@ The result is stored as a string in the variable ‘elpher-selector-string’."
   (push-button))
 
 (defun elpher-go ()
-  "Go to a particular gopher site."
+  "Go to a particular gopher site read from the minibuffer.
+The site may be specified via a URL or explicitly in terms of
+host, selector and port."
   (interactive)
   (let ((node
          (let ((host-or-url (read-string "Gopher host or URL: ")))
            (if (string-match elpher-url-regex host-or-url)
                (if (not (string= (downcase (match-string 1 host-or-url)) "gopher"))
-                   (error "Only gopher URLs acceptable.")
+                   (error "Only gopher URLs acceptable")
                  (let* ((host (match-string 2 host-or-url))
                         (port (if (match-string 3 host-or-url)
                                   (string-to-number (substring (match-string 3 host-or-url) 1))