From 241b1684c5986579233242b685d61f82a1817353 Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Thu, 19 Jun 2025 16:58:21 +0200 Subject: [PATCH] add autoloads --- lisp/my/my-autoloads.el | 100 ++++++++++++++++++++++++++++++++++++++++ settings/my-settings.el | 7 ++- 2 files changed, 103 insertions(+), 4 deletions(-) create mode 100644 lisp/my/my-autoloads.el diff --git a/lisp/my/my-autoloads.el b/lisp/my/my-autoloads.el new file mode 100644 index 00000000..8749a231 --- /dev/null +++ b/lisp/my/my-autoloads.el @@ -0,0 +1,100 @@ +;;; my-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*- +;; Generated by the `loaddefs-generate' function. + +;; This file is part of GNU Emacs. + +;;; Code: + +(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path))) + + + +;;; Generated autoloads from my.el + +(register-definition-prefixes "my" '("my-")) + + +;;; Generated autoloads from my-org-article.el + +(autoload 'my-org-article-latex-make-preamble "my-org-article" "\ +See `org-latex-make-preamble'. +Uses also `my-org-article-latex-template-value' with +`my-org-article-latex-template-plist' to inserts placeholders. + +(fn INFO &optional TEMPLATE SNIPPET?)") +(autoload 'my-org-article-latex-export-to-latex "my-org-article" "\ +See `org-latex-export-to-latex' + +(fn &optional ASYNC SUBTREEP VISIBLE-ONLY BODY-ONLY EXT-PLIST)" t) +(autoload 'my-org-article-latex-export-to-pdf "my-org-article" "\ +See `org-latex-export-to-pdf' + +(fn &optional ASYNC SUBTREEP VISIBLE-ONLY BODY-ONLY EXT-PLIST)" t) +(autoload 'my-org-article-latex-publish-to-latex "my-org-article" "\ +Publish an Org file to LaTeX. + +FILENAME is the filename of the Org file to be published. PLIST +is the property list for the given project. PUB-DIR is the +publishing directory. + +Return output file name. + +(fn PLIST FILENAME PUB-DIR)") +(autoload 'my-org-article-latex-publish-to-pdf "my-org-article" "\ +Publish an Org file to PDF (via LaTeX). + +FILENAME is the filename of the Org file to be published. PLIST +is the property list for the given project. PUB-DIR is the +publishing directory. + +Return output file name. + +(fn PLIST FILENAME PUB-DIR)") +(put 'org-html-head 'safe-local-variable 'stringp) +(autoload 'my-org-article-html-export-to-html "my-org-article" "\ +See `org-tufte-export-to-file' and `org-html-export-to-html'. + +(fn &optional ASYNC SUBTREEP VISIBLE-ONLY BODY-ONLY EXT-PLIST)" t) +(register-definition-prefixes "my-org-article" '("my-")) + + +;;; Generated autoloads from my-org-letter.el + +(autoload 'my-org-letter-latex-make-preamble "my-org-letter" "\ +See `org-latex-make-preamble' + +(fn INFO &optional TEMPLATE SNIPPET?)") +(autoload 'my-org-letter-latex-export-to-latex "my-org-letter" "\ +See `org-latex-export-to-latex' + +(fn &optional ASYNC SUBTREEP VISIBLE-ONLY BODY-ONLY EXT-PLIST)" t) +(autoload 'my-org-letter-latex-export-to-pdf "my-org-letter" "\ +See `org-latex-export-to-pdf' + +(fn &optional ASYNC SUBTREEP VISIBLE-ONLY BODY-ONLY EXT-PLIST)" t) +(register-definition-prefixes "my-org-letter" '("my-org-letter-")) + + +;;; Generated autoloads from my-theme.el + +(when load-file-name (add-to-list 'custom-theme-load-path (file-name-as-directory (file-name-directory load-file-name)))) +(register-definition-prefixes "my-theme" 'nil) + + +;;; Generated autoloads from my-view.el + +(register-definition-prefixes "my-view" '("my-view-")) + +;;; End of scraped data + +(provide 'my-autoloads) + +;; Local Variables: +;; version-control: never +;; no-byte-compile: t +;; no-update-autoloads: t +;; no-native-compile: t +;; coding: utf-8-emacs-unix +;; End: + +;;; my-autoloads.el ends here diff --git a/settings/my-settings.el b/settings/my-settings.el index 580a3d9b..13848cd4 100644 --- a/settings/my-settings.el +++ b/settings/my-settings.el @@ -47,6 +47,9 @@ (use-package my-org-article :after (org) + :bind (:map org-mode-map + ("" . my-org-article-html-export-to-html-notify-async) + ("" . 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