aboutsummaryrefslogtreecommitdiff
path: root/shoshimacs.el
diff options
context:
space:
mode:
Diffstat (limited to 'shoshimacs.el')
-rw-r--r--shoshimacs.el14
1 files changed, 13 insertions, 1 deletions
diff --git a/shoshimacs.el b/shoshimacs.el
index f6c50f6..25d8532 100644
--- a/shoshimacs.el
+++ b/shoshimacs.el
@@ -158,7 +158,8 @@
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
- (shell . t)))
+ (shell . t)
+ (plantuml . t)))
(package-install 'org-tree-slide)
@@ -196,6 +197,17 @@
(define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error)
(define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error))
+(defvar plantuml-mode-repo "https://github.com/skuro/plantuml-mode")
+(defvar plantuml-mode-src-dir "~/src/plantuml-mode")
+
+(unless (file-directory-p plantuml-mode-src-dir)
+ (shell-command
+ (format "git clone %s %s" plantuml-mode-repo plantuml-mode-src-dir)))
+
+(add-to-list 'load-path plantuml-mode-src-dir)
+(require 'plantuml-mode)
+(customize-set-value 'plantuml-default-exec-mode 'executable)
+
;;; Projects
(fset 'project-prefix-map project-prefix-map)