subconf: use relative path when loading

This commit is contained in:
TEC 2023-02-02 23:09:11 +08:00
parent 0aa89f7433
commit d9e6cdb389
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 3 additions and 1 deletions

View File

@ -797,7 +797,9 @@ tempbuffer. We can call this with the finalising step.
(cadr (assoc "AUTHOR" keywords))
(cadr (assoc "EMAIL" keywords))
(format-time-string "%FT%T%z")
(expand-file-name "subconf/")))
(replace-regexp-in-string
(regexp-quote (getenv "HOME")) "~"
(expand-file-name "subconf/"))))
(mapc
(lambda (confpkg)
(insert