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!
This commit is contained in:
Henrik Lissner 2020-08-11 14:00:33 -04:00
parent 95c5ebc01a
commit 64dfc709bf
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -48,7 +48,7 @@ byte-compiled from.")
(print! (info "%s") (apply #'format msg args))))) (print! (info "%s") (apply #'format msg args)))))
(unwind-protect (unwind-protect
(with-temp-file backup (with-temp-file backup
(insert-file-contents file) (insert-file-contents target)
(let ((buffer-file-name backup) (let ((buffer-file-name backup)
;; Prevent unwanted entries in recentf, or formatters, or ;; Prevent unwanted entries in recentf, or formatters, or
;; anything that could be on these hooks, really. Nothing ;; anything that could be on these hooks, really. Nothing