diff options
-rw-r--r-- | tag-emacs/emacs.d/init.org | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index d3fcba5e..138d1f03 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -2471,9 +2471,8 @@ the =org=-document after changes. ;; Avoid running hooks when tangling. (let ((prog-mode-hook nil) (dest (concat user-emacs-directory "init.el"))) - (find-file ,(buffer-file-name)) (require 'ob-tangle) - (org-babel-tangle nil dest) + (org-babel-tangle-file ,(buffer-file-name) dest) (if (byte-compile-file dest) dest (with-current-buffer byte-compile-log-buffer |