improve autoloads

This commit is contained in:
2025-07-04 23:58:34 +02:00
parent 09e03011d7
commit 4a4f30e3b1
15 changed files with 359 additions and 44 deletions

View File

@@ -2,16 +2,12 @@
;;; Commentary:
;;; Code:
(use-package my
:init
;; (load-file (concat config-dir "lisp/my/my-autoloads.el"))
(require 'my-autoloads)
: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 olivetti
:commands (olivetti-mode)
:bind (("<f8>" . my-distraction-free))
:config
(defun my-distraction-free ()
@@ -49,7 +45,6 @@
(olivetti-mode 0)))))
(use-package my-org-article
:defer 0.1
:after (org)
:bind (:map org-mode-map
("<f5>" . my-org-article-html-export-to-html-notify-async)
@@ -131,7 +126,7 @@ gnuplot buffer. See also async init file
)
(use-package my-org-letter
:defer 0.1
:defer t
:after (org))
(provide 'my-settings)