From 12338dad14372cb2ec34c902ca232761d02ddec6 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 25 Jul 2020 16:41:26 -0400 Subject: [PATCH] Load org-attach on org-mode start --- emacs/init.org | 8 ++++++++ 1 file changed, 8 insertions(+) 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