Skip to content

Commit

Permalink
tweak(plantuml): remove unneeded exec mode tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 21, 2023
1 parent fc610e5 commit 9e549f9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions modules/me-data.el
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,6 @@
:custom
(plantuml-jar-path (concat minemacs-local-dir "plantuml/plantuml.jar"))
(plantuml-indent-level 2)
:config
(setq
plantuml-default-exec-mode
(cond
;; Prefer the system's executable when available
((executable-find plantuml-executable-path) 'executable)
;; Then, use the JAR if it exists or try to download it
((let ((ret (or (file-exists-p plantuml-jar-path)
(and (not noninteractive) (ignore-errors (plantuml-download-jar))))))
(or (eq ret t) (and (stringp ret) (not (string-equal ret "Aborted.")))))
'jar)
;; Fall back to the server configured at `plantuml-server-url'
'server))

;; Define `capf' function, based on `plantuml-complete-symbol'
(defun +plantuml-completion-at-point ()
Expand Down

0 comments on commit 9e549f9

Please sign in to comment.