diff options
author | Guangxiong Lin <[email protected]> | 2022-05-12 00:37:20 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-05-12 00:37:20 +0800 |
commit | b8950ef177eb458cd5f4319c38627492728bed36 (patch) | |
tree | c978e2beeccbad057fbd3eb8c30b532f6f8b01ad | |
parent | 3a40c965742736cb4cd91a23ce8b08161c14a523 (diff) | |
download | dotfiles-b8950ef177eb458cd5f4319c38627492728bed36.tar.gz dotfiles-b8950ef177eb458cd5f4319c38627492728bed36.tar.bz2 dotfiles-b8950ef177eb458cd5f4319c38627492728bed36.zip |
Update autoload config (emacs)
-rw-r--r-- | .emacs.d/lisp/init-org.el | 6 |
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 |