Merge pull request #1871 from yangsheng6810/fix_symbolic_config

config/literate: allow symlinks for +literate-config-file
This commit is contained in:
Henrik Lissner 2019-10-10 11:28:47 -04:00 committed by GitHub
commit d633a06ee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ byte-compiled from.")
force-p)
(message "Compiling your literate config...")
(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*")))
(unwind-protect
;; We tangle in a separate, blank process because loading it here