diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index b1568ead..3c252916 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -3064,6 +3064,29 @@ crux-reopen-as-root-mode makes it so that any file owned by root will automatica #+BEGIN_SRC emacs-lisp (use-package slack) #+END_SRC +**** puml-mode +This mode seems to be better maintained than plantuml-mode +#+BEGIN_SRC emacs-lisp +(use-package puml-mode + :after org + :mode ("\\.puml\\'" "\\.plantuml\\'") + :preface + (if (equal system-type 'darwin) + (let* ((plantuml-dir + (s-trim (shell-command-to-string "brew --prefix plantuml"))) + (filename + (--first (s-ends-with? ".jar" it) (directory-files plantuml-dir)))) + (setq puml-plantuml-jar-path (imalison:join-paths plantuml-dir filename)))) + :config + (progn + (add-to-list + 'org-src-lang-modes '("plantuml" . puml)))) +#+END_SRC +**** wsd-mode + #+BEGIN_SRC emacs-lisp +(use-package wsd-mode + :commands (wsd-mode)) + #+END_SRC ** Other *** anzu #+BEGIN_SRC emacs-lisp @@ -3476,11 +3499,6 @@ This is useful with server mode when editing gmail messages. I think that it is #+BEGIN_SRC emacs-lisp (use-package floobits) #+END_SRC -*** wsd-mode -#+BEGIN_SRC emacs-lisp -(use-package wsd-mode - :commands (wsd-mode)) -#+END_SRC *** libmpdee #+BEGIN_SRC emacs-lisp (use-package libmpdee)