mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Allow +literate-config-file to be a symbolic link
If the literate config file is a symbolic link, the tangled file is with the target of the link, not with the literate config file.
This commit is contained in:
@ -19,7 +19,7 @@ byte-compiled from.")
|
|||||||
force-p)
|
force-p)
|
||||||
(message "Compiling your literate config...")
|
(message "Compiling your literate config...")
|
||||||
(let* ((org (file-truename +literate-config-file))
|
(let* ((org (file-truename +literate-config-file))
|
||||||
(dest (concat (file-name-sans-extension org) ".el"))
|
(dest (concat (file-name-sans-extension +literate-config-file) ".el"))
|
||||||
(output (get-buffer-create "*org-tangle*")))
|
(output (get-buffer-create "*org-tangle*")))
|
||||||
(unwind-protect
|
(unwind-protect
|
||||||
;; We tangle in a separate, blank process because loading it here
|
;; We tangle in a separate, blank process because loading it here
|
||||||
|
Reference in New Issue
Block a user