aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-04-11 08:42:45 +0800
committerGuangxiong Lin <[email protected]>2023-04-11 08:42:45 +0800
commit40e994bcc68f2999b0f8c481f292d74031f88b91 (patch)
tree3c4cae45d0c31942a3340e0454f6820fabdc9d95 /.emacs.d
parent4a2897f7b4a147b7d5d7f76a23378cad2fde4965 (diff)
downloaddotfiles-40e994bcc68f2999b0f8c481f292d74031f88b91.tar.gz
dotfiles-40e994bcc68f2999b0f8c481f292d74031f88b91.tar.bz2
dotfiles-40e994bcc68f2999b0f8c481f292d74031f88b91.zip
Update emacs config
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-lang.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-lang.el b/.emacs.d/lisp/init-lang.el
index b96fd92..ee24d39 100644
--- a/.emacs.d/lisp/init-lang.el
+++ b/.emacs.d/lisp/init-lang.el
@@ -11,8 +11,9 @@
org-plantuml-default-exec-mode 'jar)
(when (gx/maybe-require-package 'plantuml-mode)
(add-to-list 'auto-mode-alist '("\\.plantuml\\'" . plantuml-mode))
- (unless (file-readable-p plantuml-jar-path)
- (plantuml-download-jar))
+ (with-eval-after-load 'plantuml
+ (unless (file-readable-p plantuml-jar-path)
+ (plantuml-download-jar)))
(with-eval-after-load 'org
(add-to-list 'org-src-lang-modes '("plantuml" . plantuml))))