* shr.el (shr-tag-img): Ignore images with no data.
+2010-10-15 Julien Danjou <julien@danjou.info>
+
+ * mml.el (mml-generate-mime-1): Add `mml-enable-flow' variable to add a
+ possibility to disable format=flow encoding when using hard newlines.
+
2010-10-15 Katsumi Yamaoka <yamaoka@jpl.org>
* shr.el (shr-insert): Remove space inserted before or after a
:type 'boolean
:group 'message)
+(defcustom mml-enable-flowed t
+ "If non-nil, enable format=flowed usage when encoding a message.
+This is only performed when filling on text/plain with hard
+newlines in the text."
+ :version "24.1"
+ :type 'boolean
+ :group 'message)
+
(defvar mml-tweak-type-alist nil
"A list of (TYPE . FUNCTION) for tweaking MML parts.
TYPE is a string containing a regexp to match the MIME type. FUNCTION
;; in the mml tag or it says "flowed" and there
;; actually are hard newlines in the text.
(let (use-hard-newlines)
- (when (and (string= type "text/plain")
+ (when (and mml-enable-flowed
+ (string= type "text/plain")
(not (string= (cdr (assq 'sign cont)) "pgp"))
(or (null (assq 'format cont))
(string= (cdr (assq 'format cont))