make default protocol customizable
authorOmar Polo <op@omarpolo.com>
Sat, 30 Jan 2021 09:00:06 +0000 (10:00 +0100)
committerOmar Polo <op@omarpolo.com>
Sat, 30 Jan 2021 09:00:06 +0000 (10:00 +0100)
This adds a defcustom to let user choose what default URL type elpher
should assume when no one is explicitly given, instead of hardcoding
gopher as it is now.

It also improves a bit how scheme-less URL are handled: `M-x elpher-go
example.com/foo/bar' is now parsed into host `example.com' and path
`/foo/bar'.


No differences found