diff --git a/emacs/init.org b/emacs/init.org index f22b847..e33e823 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -1573,6 +1573,14 @@ A function to add ids to every heading in an Org file: (org-id-get-create)))) #+END_SRC +** Hook +#+BEGIN_SRC emacs-lisp + (defun setup-org-mode () + (load-library "org-attach")) + + (add-hook 'org-mode-hook #'setup-org-mode) +#+END_SRC + ** Agenda files #+BEGIN_SRC emacs-lisp