Fix wrong-type-arg: stringp when tangling config.org
This commit is contained in:
parent
5a68352cd5
commit
00a8f750ed
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue