aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-05-12 00:37:20 +0800
committerGuangxiong Lin <[email protected]>2022-05-12 00:37:20 +0800
commitb8950ef177eb458cd5f4319c38627492728bed36 (patch)
treec978e2beeccbad057fbd3eb8c30b532f6f8b01ad
parent3a40c965742736cb4cd91a23ce8b08161c14a523 (diff)
downloaddotfiles-b8950ef177eb458cd5f4319c38627492728bed36.tar.gz
dotfiles-b8950ef177eb458cd5f4319c38627492728bed36.tar.bz2
dotfiles-b8950ef177eb458cd5f4319c38627492728bed36.zip
Update autoload config (emacs)
-rw-r--r--.emacs.d/lisp/init-org.el6
1 files 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 "<leader>fn") 'org-roam-node-find