mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
vim: make the html handler configurable
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
parent
2fee62fd1f
commit
468deca60c
1 changed files with 2 additions and 1 deletions
|
@ -919,7 +919,8 @@ ruby << EOF
|
|||
if mime_type != "text/html"
|
||||
text = decoded
|
||||
else
|
||||
IO.popen("elinks --dump", "w+") do |pipe|
|
||||
IO.popen(VIM::evaluate('exists("g:notmuch_html_converter") ? ' +
|
||||
'g:notmuch_html_converter : "elinks --dump"'), "w+") do |pipe|
|
||||
pipe.write(decode_body)
|
||||
pipe.close_write
|
||||
text = pipe.read
|
||||
|
|
Loading…
Reference in a new issue