simpler auto-tangle

This commit is contained in:
Chris Cochrun 2023-07-05 09:32:28 -05:00
parent 36712be141
commit ab9378879e
2 changed files with 2 additions and 4 deletions

View file

@ -971,8 +971,7 @@ We are also going to make our config auto-tangle. This is so helpful on saving t
(let ((org-confirm-babel-evaluate nil)) (let ((org-confirm-babel-evaluate nil))
(org-babel-tangle)))) (org-babel-tangle))))
(add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'chris/org-babel-tangle-config (add-hook 'after-save-hook #'chris/org-babel-tangle-config)
:append :local)))
#+end_src #+end_src
We also need to add =evil-org= to make better keybindings. We also need to add =evil-org= to make better keybindings.

View file

@ -700,8 +700,7 @@ much faster. The hope is to also make this a faster version of imenu."
(let ((org-confirm-babel-evaluate nil)) (let ((org-confirm-babel-evaluate nil))
(org-babel-tangle)))) (org-babel-tangle))))
(add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'chris/org-babel-tangle-config (add-hook 'after-save-hook #'chris/org-babel-tangle-config)
:append :local)))
(use-package evil-org (use-package evil-org
:ensure t :ensure t