(chore): add autoload to org-roam-mode (#121)

With this change it is no longer required to load org-roam before use.
This commit is contained in:
Troy Hinckley
2020-02-18 23:50:36 -07:00
committed by GitHub
parent 570467b34b
commit edbe34a1d9

View File

@@ -543,6 +543,7 @@ This needs to be quick/infrequent, because this is run at
(org-roam-update (expand-file-name
(buffer-local-value 'buffer-file-truename buffer))))))
;;;###autoload
(define-minor-mode org-roam-mode
"Global minor mode to automatically update the org-roam buffer."
:require 'org-roam