]> code.delx.au - gnu-emacs/commitdiff
* net/eww.el (eww): Allow "file:/file/name" URLs.
authorIvan Shmakov <ivan@siamics.net>
Sun, 2 Nov 2014 21:06:52 +0000 (16:06 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Sun, 2 Nov 2014 21:06:52 +0000 (16:06 -0500)
lisp/ChangeLog
lisp/net/eww.el

index 486c6aec72287a28a4338f7c83c5041017da4012..e53e5a7514fb4daa5074e904ff9a3ed42c78506f 100644 (file)
@@ -1,3 +1,7 @@
+2014-11-02  Ivan Shmakov <ivan@siamics.net>
+
+       * net/eww.el (eww): Allow "file:/file/name" URLs.
+
 2014-11-02  Ivan Shmakov <ivan@siamics.net>
 
        * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
index cf2f308a7ed0b8142a2bbe3a384ed955744c67a8..1ffd23893ad1d05dfee5c89eee858888ab3fa5aa 100644 (file)
@@ -159,7 +159,7 @@ See also `eww-form-checkbox-selected-symbol'."
 If the input doesn't look like an URL or a domain name, the
 word(s) will be searched for via `eww-search-prefix'."
   (interactive "sEnter URL or keywords: ")
-  (cond ((string-match-p "\\`file://" url))
+  (cond ((string-match-p "\\`file:/" url))
         ((string-match-p "\\`ftp://" url)
          (user-error "FTP is not supported."))
         (t