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:
parent
94ce52a70d
commit
73e0baba08
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue