More appropriate maildir output
This commit is contained in:
parent
d7b06e9af1
commit
04983d2313
|
@ -237,9 +237,13 @@
|
||||||
|
|
||||||
;; Output path for an entry w multifile template
|
;; Output path for an entry w multifile template
|
||||||
(define (multifile-entry-path entry template-alist base-out-path)
|
(define (multifile-entry-path entry template-alist base-out-path)
|
||||||
(let* ([file-leaf (named-format (alist-car-ref 'filename-template template-alist) entry)])
|
(let* ([file-leaf (named-format (alist-car-ref 'filename-template template-alist) entry)]
|
||||||
(if (create-directory base-out-path)
|
[new-out-path (string-append base-out-path "/" "new")])
|
||||||
(string-append base-out-path "/" file-leaf)
|
(if (and (create-directory base-out-path)
|
||||||
|
(create-directory new-out-path)
|
||||||
|
(create-directory (string-append base-out-path "/" "cur"))
|
||||||
|
(create-directory (string-append base-out-path "/" "tmp")))
|
||||||
|
(string-append new-out-path "/" file-leaf ":2,")
|
||||||
(signal
|
(signal
|
||||||
(make-property-condition
|
(make-property-condition
|
||||||
'exn 'location 'file
|
'exn 'location 'file
|
||||||
|
|
Ŝarĝante…
Reference in New Issue