diff options
| author | Michael Albinus | 2015-01-11 16:00:33 +0100 |
|---|---|---|
| committer | Michael Albinus | 2015-01-11 16:00:33 +0100 |
| commit | a3eebe9bbd78b16557b003a75f42bf1225c90414 (patch) | |
| tree | ae993ba7b13e06a2c49aea9c4603d13c6377c1aa | |
| parent | 38bb639d552524f9d7311a99536d7b353aa2f029 (diff) | |
| parent | 4113ac253456027c4b54b92a617e0c2b3003a049 (diff) | |
| download | emacs-a3eebe9bbd78b16557b003a75f42bf1225c90414.tar.gz emacs-a3eebe9bbd78b16557b003a75f42bf1225c90414.zip | |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Conflicts:
lisp/ChangeLog
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/net/eww.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fba541fbc29..598f9c6a720 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -3,6 +3,11 @@ | |||
| 3 | * files.el (directory-files-recursively): Do not include | 3 | * files.el (directory-files-recursively): Do not include |
| 4 | superfluous remote file names. | 4 | superfluous remote file names. |
| 5 | 5 | ||
| 6 | 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 7 | |||
| 8 | * net/eww.el (eww): Interpret anything that looks like a protocol | ||
| 9 | designator as a full URL. | ||
| 10 | |||
| 6 | 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org> | 11 | 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 7 | 12 | ||
| 8 | * net/shr.el (shr-urlify): Don't bother the user about | 13 | * net/shr.el (shr-urlify): Don't bother the user about |
diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 6a6da17d1ce..71094b1b66d 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el | |||
| @@ -255,7 +255,9 @@ word(s) will be searched for via `eww-search-prefix'." | |||
| 255 | ((string-match-p "\\`ftp://" url) | 255 | ((string-match-p "\\`ftp://" url) |
| 256 | (user-error "FTP is not supported.")) | 256 | (user-error "FTP is not supported.")) |
| 257 | (t | 257 | (t |
| 258 | (if (or (string-match "\\`https?:" url) | 258 | ;; Anything that starts with something that vaguely looks |
| 259 | ;; like a protocol designator is interpreted as a full URL. | ||
| 260 | (if (or (string-match "\\`[A-Za-z]+:" url) | ||
| 259 | ;; Also try to match "naked" URLs like | 261 | ;; Also try to match "naked" URLs like |
| 260 | ;; en.wikipedia.org/wiki/Free software | 262 | ;; en.wikipedia.org/wiki/Free software |
| 261 | (string-match "\\`[A-Za-z_]+\\.[A-Za-z._]+/" url) | 263 | (string-match "\\`[A-Za-z_]+\\.[A-Za-z._]+/" url) |