Using `url-hexify-string` rather than the regexps
to get the same results.
No need to setq here. Just use `let`. Also
cleaning up docstring.
No reason to remove leading whitespace. Google's
got t3h sm4rts!
Add `(require 'url)`. EOM
Merge pull request #8 from timvisher/dont-manually-encode-urls

Simplify search url construction logic by using `url-hexify-string`.