diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2020-05-06 18:02:32 +0100 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2020-05-22 16:28:20 +0100 |
commit | 3a7894ecd11c66337e7aea8ade8f47673d290a24 (patch) | |
tree | b3be04e3235bce5c8d408e765390df5d46bae692 /lisp/emacs-lisp/lisp-mnt.el | |
parent | 3f082af536c33ba713561e7ad4b691aaad488701 (diff) | |
download | emacs-3a7894ecd11c66337e7aea8ade8f47673d290a24.tar.gz emacs-3a7894ecd11c66337e7aea8ade8f47673d290a24.tar.bz2 emacs-3a7894ecd11c66337e7aea8ade8f47673d290a24.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions