* mu4e.el: fix washing messages

This commit is contained in:
djcb
2011-12-22 00:42:05 +02:00
parent 4af04b7038
commit 41d0ac82d7

View File

@ -531,7 +531,8 @@ uses the emacs built-in `html2text'. Alternatively, if
(with-temp-buffer (with-temp-buffer
(insert html) (insert html)
(if mu4e-html2text-command ;; if defined, use the external tool (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) nil t)
;; otherwise... ;; otherwise...
(html2text)) (html2text))
@ -541,12 +542,6 @@ uses the emacs built-in `html2text'. Alternatively, if
;; and finally, remove some crap from the remaining string. ;; and finally, remove some crap from the remaining string.
(replace-regexp-in-string "[ (replace-regexp-in-string "[
 ]" " " body nil nil nil)))  ]" " " body nil nil nil)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;