From 64dfc709bf783848b6f27e70fe08ba5ce44ce6a0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 11 Aug 2020 14:00:33 -0400 Subject: [PATCH] Fix #3729: config.org not getting tangled Because the wrong file is being inserted into the temporary org buffer, org never finds anything to tangle! --- modules/config/literate/autoload.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/literate/autoload.el b/modules/config/literate/autoload.el index 696a9eb71..7250fa39d 100644 --- a/modules/config/literate/autoload.el +++ b/modules/config/literate/autoload.el @@ -48,7 +48,7 @@ byte-compiled from.") (print! (info "%s") (apply #'format msg args))))) (unwind-protect (with-temp-file backup - (insert-file-contents file) + (insert-file-contents target) (let ((buffer-file-name backup) ;; Prevent unwanted entries in recentf, or formatters, or ;; anything that could be on these hooks, really. Nothing