[mew-int 2949] Re: Flowed mode hook

Christophe TROESTLER <[email protected]> Sat, 11 Dec 2010 15:12:36 +0100 (CET)
Newsgroups gmane.mail.mew.general
Organization Universite de Mons (http://math.umons.ac.be/an/)
Message-ID <20101211.151236.1205003879023195107.Christophe.Troestler@umons.ac.be>
Hi,

Patch for a better recommendation in the documentation of the 
function mew-draft-use-format-flowed.

C.
mew-draft.el.patch (text/x-patch, 450 B)
=== modified file 'mew-draft.el'
--- mew-draft.el	2010-12-11 13:48:21 +0000
+++ mew-draft.el	2010-12-11 14:09:08 +0000
@@ -617,8 +617,10 @@
 	(if mew-use-format-flowed
 	    (progn
 	      (auto-fill-mode 0)
-	      (setq word-wrap t))
-	  (auto-fill-mode 1))
+	      (visual-line-mode 1))
+	  (progn
+            (auto-fill-mode 1)
+            (visual-line-mode 0)))
 	))"
   (interactive "P")
   (set (make-local-variable 'mew-use-format-flowed)