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

With this change it is no longer required to load org-roam before use.
master
Troy Hinckley 6 years ago committed by GitHub
parent 570467b34b
commit edbe34a1d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      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

Loading…
Cancel
Save