mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user