]> git.eshelyaron.com Git - emacs.git/commitdiff
Go back to old method for nnmaildir names
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 15 Sep 2018 22:00:54 +0000 (15:00 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 15 Sep 2018 22:02:08 +0000 (15:02 -0700)
* lisp/gnus/nnmaildir.el (nnmaildir-request-accept-article):
Omit leading 0s after "M" in file name.
Problem reported by Glenn Morris in:
        https://lists.gnu.org/r/emacs-devel/2018-09/msg00660.html

lisp/gnus/nnmaildir.el

index 48a470c7462c47d1e468334aa6aed5336879b30a..fbabf573c4feb445e18813000b904f4bdeaaa021 100644 (file)
@@ -1463,7 +1463,7 @@ This variable is set by `nnmaildir-request-article'.")
       (unless (string-equal nnmaildir--delivery-time file)
        (setq nnmaildir--delivery-time file
              nnmaildir--delivery-count 0))
-      (setq file (concat file (format-time-string "M%6N" time)))
+      (setq file (concat file "M" (number-to-string (caddr time))))
       (setq file (concat file nnmaildir--delivery-pid)
            file (concat file "Q" (number-to-string nnmaildir--delivery-count))
            file (concat file "." (nnmaildir--system-name))