changeset 111922:16dda1d80ad4

Small smtpmail fix for bug#7588. * lisp/mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued file names, for the sake of MS Windows.
author Glenn Morris <rgm@gnu.org>
date Tue, 07 Dec 2010 19:29:41 -0800
parents 7d4b016a7e3e
children df8c73722b0d
files lisp/ChangeLog lisp/mail/smtpmail.el
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Dec 07 19:25:57 2010 -0800
+++ b/lisp/ChangeLog	Tue Dec 07 19:29:41 2010 -0800
@@ -1,3 +1,8 @@
+2010-12-08  Glenn Morris  <rgm@gnu.org>
+
+	* mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
+	file names, for the sake of MS Windows.  (Bug#7588)
+
 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
--- a/lisp/mail/smtpmail.el	Tue Dec 07 19:25:57 2010 -0800
+++ b/lisp/mail/smtpmail.el	Tue Dec 07 19:29:41 2010 -0800
@@ -379,7 +379,7 @@
 	    (let* ((file-data
 		    (expand-file-name
 		     (format "%s_%i"
-			     (format-time-string "%Y-%m-%d_%H:%M:%S")
+			     (format-time-string "%Y-%m-%d_%H-%M-%S")
 			     (setq smtpmail-queue-counter
 				   (1+ smtpmail-queue-counter)))
 		     smtpmail-queue-dir))
@@ -1007,5 +1007,4 @@
 
 (provide 'smtpmail)
 
-;; arch-tag: a76992df-6d71-43b7-9e72-4bacc6c05466
 ;;; smtpmail.el ends here