From edbe34a1d9c64dcf37ad282bac590218bc2213b1 Mon Sep 17 00:00:00 2001 From: Troy Hinckley Date: Tue, 18 Feb 2020 23:50:36 -0700 Subject: [PATCH] (chore): add autoload to org-roam-mode (#121) With this change it is no longer required to load org-roam before use. --- org-roam.el | 1 + 1 file changed, 1 insertion(+) diff --git a/org-roam.el b/org-roam.el index b492d2b..c0032e3 100644 --- a/org-roam.el +++ b/org-roam.el @@ -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