add autoloads

This commit is contained in:
2025-06-19 16:58:21 +02:00
parent e6e5602f48
commit 241b1684c5
2 changed files with 103 additions and 4 deletions

View File

@@ -47,6 +47,9 @@
(use-package my-org-article
:after (org)
:bind (:map org-mode-map
("<f5>" . my-org-article-html-export-to-html-notify-async)
("<f6>" . my-org-article-latex-export-to-pdf-notify-async))
:config
;; HTML
(defun my-org-article-html-export-to-html-notify (&optional async subtreep visible-only body-only ext-plist)
@@ -88,8 +91,6 @@ buffer. See also async init file `org-export-async-init-file'."
(when (get-buffer "*gnuplot*")
(kill-buffer "*gnuplot*")) ;; to get a new session
(my-org-article-html-export-to-html-notify t))
(org-defkey org-mode-map [f5] 'my-org-article-html-export-to-html-notify-async)
;; LaTeX
(defun my-org-article-latex-export-to-pdf-notify
@@ -123,8 +124,6 @@ gnuplot buffer. See also async init file
(when (get-buffer "*gnuplot*")
(kill-buffer "*gnuplot*")) ;; to get a new session
(my-org-article-latex-export-to-pdf-notify t))
(org-defkey org-mode-map [f6] 'my-org-article-latex-export-to-pdf-notify-async)
)
(use-package my-org-letter