]> git.notmuchmail.org Git - sup/commitdiff
bugfix: don't stop reading a composed message when a line starting with "From" is...
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 17 Jan 2007 21:37:47 +0000 (21:37 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 17 Jan 2007 21:37:47 +0000 (21:37 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@258 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/edit-message-mode.rb

index 000c32c2c66892ba5709f4fbc1e6e6690b1267d6..01a1be216d26b2cdfa1af7934aa395866f34de35 100644 (file)
@@ -55,7 +55,7 @@ protected
   def parse_file fn
     File.open(fn) do |f|
       header = MBox::read_header f
-      body = MBox::read_body f
+      body = f.readlines
 
       header.delete_if { |k, v| NON_EDITABLE_HEADERS.member? k }
       header.each do |k, v|