diff options
author | Guangxiong Lin <[email protected]> | 2022-03-13 00:07:38 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-03-13 00:09:13 +0800 |
commit | 38ab771977e6511d02df06cb908824707d728303 (patch) | |
tree | 2c77fb392b35e8e7c2105d3bb29f24b34c5388f7 /.emacs.d/lisp/init-deft.el | |
parent | 0097d1f3e22565ffb6db689c06ee2f9610cd45d0 (diff) | |
download | dotfiles-38ab771977e6511d02df06cb908824707d728303.tar.gz dotfiles-38ab771977e6511d02df06cb908824707d728303.tar.bz2 dotfiles-38ab771977e6511d02df06cb908824707d728303.zip |
Refactor emacs config
Use less use-package features
Diffstat (limited to '.emacs.d/lisp/init-deft.el')
-rw-r--r-- | .emacs.d/lisp/init-deft.el | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/.emacs.d/lisp/init-deft.el b/.emacs.d/lisp/init-deft.el index 352021a..6cc18ea 100644 --- a/.emacs.d/lisp/init-deft.el +++ b/.emacs.d/lisp/init-deft.el @@ -1,11 +1,8 @@ -(use-package deft - :ensure t - :after (org) - :config - (setq deft-recursive t - deft-use-filter-string-for-filename t - deft-extensions '("org" "txt" "md" "tex") - deft-directory org-roam-directory - deft-use-filename-as-title t)) +(use-package deft :ensure t :defer t) +(setq deft-recursive t + deft-use-filter-string-for-filename t + deft-extensions '("org" "txt" "md" "tex") + deft-directory org-roam-directory + deft-use-filename-as-title t) (provide 'init-deft) |