From: Ivan Shmakov Date: Sun, 2 Nov 2014 21:06:52 +0000 (-0500) Subject: * net/eww.el (eww): Allow "file:/file/name" URLs. X-Git-Tag: emacs-25.0.90~2635^2~597 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7188af323b7eb60ae8c00b18708478f98b8e34c0;p=emacs.git * net/eww.el (eww): Allow "file:/file/name" URLs. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 486c6aec722..e53e5a7514f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-11-02 Ivan Shmakov + + * net/eww.el (eww): Allow "file:/file/name" URLs. + 2014-11-02 Ivan Shmakov * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'. diff --git a/lisp/net/eww.el b/lisp/net/eww.el index cf2f308a7ed..1ffd23893ad 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -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