Make mention of alternative exec modes

This commit is contained in:
Matt Trzcinski 2019-09-05 15:11:16 -04:00
parent 8abb3b4a99
commit a8a0eb3972
1 changed files with 20 additions and 17 deletions

View File

@ -32,15 +32,18 @@ Alice <-- Bob: Another authentication Response
4. Preview diagrams with `C-c C-c` (`plantuml-preview`).
**WARNING:** This may send information to
`"https://www.plantuml.com/plantuml"`!
Before previewing any sensitive material, check that
`plantuml-jar-path` is correct for your use case and that
`plantuml-default-exec-mode` is set to `jar`.
`"https://www.plantuml.com/plantuml"`! Check that
`plantuml-default-exec-mode` is configured correctly for your use case
before previewing any sensitive material.
```lisp
;; Sample jar configuration
(setq plantuml-jar-path "/path/to/your/copy/of/plantuml.jar")
(setq plantuml-default-exec-mode 'jar)
;; Sample executable configuration
(setq plantuml-executable-path "/path/to/your/copy/of/plantuml.bin")
(setq plantuml-default-exec-mode 'executable)
```
See [Execution modes](#execution-modes) for more information.