Load org-attach on org-mode start
This commit is contained in:
parent
f864f7296a
commit
12338dad14
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user