Actually fixed issue with todo item ids

This commit is contained in:
Random936
2024-05-28 08:55:08 -07:00
parent 08114ca1c6
commit 9e563b6be4
3 changed files with 9 additions and 13 deletions

View File

@@ -2,18 +2,6 @@
As of now, I haven't added anything here, though I do expect to start adding some custom functions as I learn more about Elisp.
* Automatic Todo IDs
The following function and hooks automatically adds IDs to each todo item for easier searching with ~org-roam~.
#+begin_src emacs-lisp
(defun jm/org-todo-auto-add-ids ()
(when (org-get-todo-state)
(org-id-get-create)))
(add-hook 'org-after-todo-state-change-hook 'jm/org-todo-auto-add-ids)
#+end_src
* Org Roam Dailies Shortcuts
Shortcut to goto todays org-roam dailies document.