]> git.eshelyaron.com Git - emacs.git/commit
Improve shr/eww handling of mailto URLs
authorBasil L. Contovounesios <contovob@tcd.ie>
Wed, 6 May 2020 17:02:32 +0000 (18:02 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Fri, 22 May 2020 15:28:20 +0000 (16:28 +0100)
commit3a7894ecd11c66337e7aea8ade8f47673d290a24
treeb3be04e3235bce5c8d408e765390df5d46bae692
parent3f082af536c33ba713561e7ad4b691aaad488701
Improve shr/eww handling of mailto URLs

* lisp/net/eww.el (eww): Use function-put in place of put, as
recommended in "(elisp) Symbol Plists".
(eww-follow-link):
* lisp/net/shr.el (shr-browse-url): Rather than call browse-url-mail
directly, call browse-url which respects the user options
browse-url-handlers and browse-url-mailto-function.  (Bug#41133)
(shr--current-link-region): Return nil if there is no link at point.
(shr--blink-link): Adapt accordingly.
(shr-fill-line, shr-indent, shr-table-body): Refactor to avoid some
unnecessary allocations.
* etc/NEWS: Announce that eww-follow-link and shr-browse-url support
custom URL handlers.
etc/NEWS
lisp/net/eww.el
lisp/net/shr.el