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:
parent
95c5ebc01a
commit
64dfc709bf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue