optimize package loading

This commit is contained in:
2022-12-18 19:14:30 +01:00
parent efe08d1027
commit cbc480386c
4 changed files with 9 additions and 30 deletions

View File

@@ -4,8 +4,7 @@
;; .plantuml .pum .plu
;; Requirements:
;; gnuplot
;; gnuplot-mode https://melpa.org/#/gnuplot-mode drive gnuplot from within Emacs e.g. via org (export)
;; gnuplot https://melpa.org/#/gnuplote drive gnuplot from within Emacs e.g. via org (export)
;; plantuml-mode https://melpa.org/#/plantuml-mode https://github.com/skuro/plantuml-mode
;; dash
@@ -25,8 +24,8 @@
;; arch linux aur package path
(setq plantuml-jar-path "/usr/share/java/plantuml/plantuml.jar")
(setq org-plantuml-jar-path "/usr/share/java/plantuml/plantuml.jar")
(with-eval-after-load 'org
(add-to-list 'org-src-lang-modes '("plantuml" . plantuml))))
(with-eval-after-load 'org-src
(setq org-src-lang-modes (add-to-list 'org-src-lang-modes '("plantuml" . plantuml)))))
(provide 'plot-settings)
;;; plot-settings.el ends here