From 73e0baba0848f53980da7d4cc106840bba363802 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Wed, 9 Oct 2019 21:02:49 -0500 Subject: [PATCH] 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. --- modules/config/literate/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/literate/init.el b/modules/config/literate/init.el index 050ea65a6..4dd961090 100644 --- a/modules/config/literate/init.el +++ b/modules/config/literate/init.el @@ -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