optimize package loading

This commit is contained in:
2022-12-18 19:32:54 +01:00
parent cbc480386c
commit 7b477d19fa
23 changed files with 3 additions and 42 deletions

View File

@@ -2,14 +2,12 @@
;;; Commentary:
;;; Code:
(use-package my
:load-path (lambda() (concat config-dir "lisp/my"))
:config
(with-eval-after-load 'org
(add-hook 'org-mode-hook 'my-org-link-color-hook)
(add-hook 'org-ctrl-c-ctrl-c-hook 'my-org-table-cell-color-attr)))
(use-package my-org-article
:load-path (lambda() (concat config-dir "lisp/my"))
:after (org)
:config
;; HTML
@@ -92,7 +90,6 @@ gnuplot buffer. See also async init file
)
(use-package my-org-letter
:load-path (lambda() (concat config-dir "lisp/my"))
:after (org))
(provide 'my-settings)