do not add org-roam-setup to after-init-hook (#15725)

This commit is contained in:
Richard Kim 2022-09-06 11:27:50 -07:00 committed by GitHub
parent 756ffc5c00
commit acab040c72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -928,7 +928,9 @@ Headline^^ Visit entry^^ Filter^^ Da
(defun org/init-org-roam ()
(use-package org-roam
:defer t
:hook (after-init . org-roam-setup)
;; Do not enable automatic db update until after user had a chance to setup
;; org-roam. See https://github.com/syl20bnr/spacemacs/issues/15724
;; :hook (after-init . org-roam-setup)
:init
(progn
(spacemacs/declare-prefix