mirror of https://github.com/djcb/mu.git
* mu4e.el: fix washing messages
This commit is contained in:
parent
4af04b7038
commit
41d0ac82d7
|
@ -529,9 +529,10 @@ uses the emacs built-in `html2text'. Alternatively, if
|
|||
(if (or (not txt) (< (* 10 (length txt)) (length html)))
|
||||
;; there's no text part, or it's very small
|
||||
(with-temp-buffer
|
||||
(insert html)
|
||||
(insert html)
|
||||
(if mu4e-html2text-command ;; if defined, use the external tool
|
||||
(shell-command-on-region (point-min) (point-max) mu4e-html2text-command
|
||||
(shell-command-on-region (point-min) (point-max)
|
||||
mu4e-html2text-command
|
||||
nil t)
|
||||
;; otherwise...
|
||||
(html2text))
|
||||
|
@ -541,12 +542,6 @@ uses the emacs built-in `html2text'. Alternatively, if
|
|||
;; and finally, remove some crap from the remaining string.
|
||||
(replace-regexp-in-string "[
]" " " body nil nil nil)))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(provide 'mu4e)
|
||||
|
|
Loading…
Reference in New Issue