Load org-attach on org-mode start

This commit is contained in:
Jeremy Dormitzer 2020-07-25 16:41:26 -04:00
parent f864f7296a
commit 12338dad14

View File

@ -1573,6 +1573,14 @@ A function to add ids to every heading in an Org file:
(org-id-get-create)))) (org-id-get-create))))
#+END_SRC #+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 ** Agenda files
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp