From b8950ef177eb458cd5f4319c38627492728bed36 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Thu, 12 May 2022 00:37:20 +0800 Subject: Update autoload config (emacs) --- .emacs.d/lisp/init-org.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el index ac376ac..68ab560 100644 --- a/.emacs.d/lisp/init-org.el +++ b/.emacs.d/lisp/init-org.el @@ -128,9 +128,9 @@ ;; roam (when (gx/maybe-require-package 'org-roam) - (autoload 'org-roam-node-find "org-roam-node") - (autoload 'org-roam-dailies-goto-today "org-roam-dailies") - (add-hook 'org-mode-hook 'org-roam-db-autosync-mode)) + (autoload #'org-roam-node-find "org-roam-node" nil t) + (autoload #'org-roam-dailies-goto-today "org-roam-dailies" nil t) + (add-hook 'org-mode-hook #'org-roam-db-autosync-mode)) (with-eval-after-load 'evil (evil-define-key 'normal 'global (kbd "fn") 'org-roam-node-find -- cgit v1.2.3