summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org3
1 files changed, 1 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index d3fcba5..138d1f0 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