mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 07:11:41 +01:00
emacs: Use truenames for Fcc paths.
Appease the test suite by using the true name for the Fcc directory path, otherwise a value for `notmuch-database-path' which includes symbolic links causes test suite failures.
This commit is contained in:
parent
2ff4c4bb2a
commit
cafd46ca13
1 changed files with 6 additions and 5 deletions
|
@ -110,11 +110,12 @@ will NOT be removed or replaced."
|
|||
(when subdir
|
||||
(message-add-header
|
||||
(concat "Fcc: "
|
||||
(file-truename
|
||||
;; If the resulting directory is not an absolute path,
|
||||
;; prepend the standard notmuch database path.
|
||||
(if (= (elt subdir 0) ?/)
|
||||
subdir
|
||||
(concat (notmuch-database-path) "/" subdir))))
|
||||
(concat (notmuch-database-path) "/" subdir)))))
|
||||
|
||||
;; finally test if fcc points to a valid maildir
|
||||
(let ((fcc-header (message-fetch-field "Fcc")))
|
||||
|
|
Loading…
Reference in a new issue