]> git.eshelyaron.com Git - emacs.git/commitdiff
Remember: Write mbox in a way that works better with Mutt.
authorMichael Olson <mwolson@gnu.org>
Mon, 24 Mar 2008 02:53:05 +0000 (02:53 +0000)
committerMichael Olson <mwolson@gnu.org>
Mon, 24 Mar 2008 02:53:05 +0000 (02:53 +0000)
lisp/textmodes/remember.el

index 58027f2b478899991474e0164089c9db1adca6e5..b077f08f2958725fc5d80a6938b3838a9de47644 100644 (file)
@@ -329,7 +329,7 @@ With a prefix or a visible region, use the region as INITIAL."
   "Return a simple date.  Nothing fancy."
   (if rfc822-p
       (format-time-string "%a, %e %b %Y %T %z" (current-time))
-    (format-time-string "%c" (current-time))))
+    (format-time-string "%a %b %e %T %Y" (current-time))))
 
 (defun remember-buffer-desc ()
   "Using the first line of the current buffer, create a short description."
@@ -364,8 +364,7 @@ field, for the purpose of appropriate splitting."
         (desc (remember-buffer-desc))
         (text (buffer-string)))
     (with-temp-buffer
-      (insert (format "
-From %s  %s
+      (insert (format "From %s  %s
 Date: %s
 From: %s
 Message-Id: <remember-%s@%s>