Fix wrong-type-arg: stringp when tangling config.org

This commit is contained in:
Henrik Lissner 2020-08-05 03:31:47 -04:00
parent 5a68352cd5
commit 00a8f750ed
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -33,8 +33,11 @@ byte-compiled from.")
;; modifies the buffer so we must do it in a copy to prevent ;; modifies the buffer so we must do it in a copy to prevent
;; stepping on the user's toes. ;; stepping on the user's toes.
(with-temp-file backup (with-temp-file backup
(let ((buffer-file-name backup)) (let ((buffer-file-name backup)
(org-inhibit-startup t)
org-mode-hook)
(insert-file-contents org) (insert-file-contents org)
(org-mode)
(org-export-expand-include-keyword) (org-export-expand-include-keyword)
(org-babel-tangle nil dest))) (org-babel-tangle nil dest)))
t) t)