changeset 93171:d2b14ee5ca13

Remember: Write mbox in a way that works better with Mutt.
author Michael Olson <mwolson@gnu.org>
date Mon, 24 Mar 2008 02:53:05 +0000
parents 2f6232eb146f
children 4154c9e624be
files lisp/textmodes/remember.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/remember.el	Sun Mar 23 22:54:57 2008 +0000
+++ b/lisp/textmodes/remember.el	Mon Mar 24 02:53:05 2008 +0000
@@ -329,7 +329,7 @@
   "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 @@
         (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>