emacs: fix capture hook for wiki module

This commit is contained in:
Gabriel Arazas 2023-08-24 10:30:31 +08:00
parent b3fc59e464
commit 80ebad6d94

View File

@ -13,8 +13,7 @@
;; marked as completely. I don't have a good system for revisiting nodes, only
;; relying on good committing practice. Adding good tagging can double that
;; effectiveness (if there's any in the first place).
(add-hook 'org-roam-capture-new-node-hook (lambda ()
org-roam-tag-add '("draft")))
(add-hook! 'org-roam-capture-new-node-hook (org-roam-tag-add '("draft")))
(defun +org-roam-split-to-random-node ()
"Open a split window sensibly for a random note."