mu4e: mention privacy aspects of browser

Mention the privacy aspects of opening a message in a browser, and what
to do about it.
This commit is contained in:
djcb
2016-03-15 06:40:21 +02:00
parent 6dd3d60402
commit c041ca39ed
2 changed files with 16 additions and 4 deletions

View File

@ -87,13 +87,15 @@ return the filename."
(defun mu4e-action-view-in-browser (msg)
"View the body of the message in a browser.
You can influence the browser to use with the variable
`browse-url-generic-program'."
`browse-url-generic-program', and see the discussion of privacy
aspects in `(mu4e) Displaying rich-text messages'."
(browse-url (concat "file://"
(mu4e~write-body-to-html msg))))
(defun mu4e-action-view-with-xwidget (msg)
"View the body of the message inside xwidget-webkit. This is
only available in emacs 25+."
only available in emacs 25+; also see the discussion of privacy
aspects in `(mu4e) Displaying rich-text messages'."
(unless (fboundp 'xwidget-webkit-browse-url)
(mu4e-error "No xwidget support available"))
(xwidget-webkit-browse-url