From bfdf6ba04ad24a998458cf17d6994b499c55c0fb Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 22 Oct 2016 09:06:15 -0500 Subject: [PATCH 1/2] Removed shell-quote-argument for Windows native Emacs to load jar file properly. --- plantuml-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plantuml-mode.el b/plantuml-mode.el index 6947bcd..d271a9a 100644 --- a/plantuml-mode.el +++ b/plantuml-mode.el @@ -220,7 +220,7 @@ default output type for new buffers." `(start-process "PLANTUML" ,buf plantuml-java-command ,@plantuml-java-args - (shell-quote-argument plantuml-jar-path) + plantuml-jar-path (plantuml-output-type-opt) "-p")) (defun plantuml-preview-string (prefix string) From 6ba5a10988f15f7218b29da4116b53ab6efb8235 Mon Sep 17 00:00:00 2001 From: Andrew Lyu Date: Fri, 28 Oct 2016 12:13:24 +0800 Subject: [PATCH 2/2] Remove duplicate rows --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 207e7f2..efbd62c 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,10 @@ Also, to enable preview you need to tell `plantuml-mode` where to locate the Pla # Enable the major mode -You can automatically enable `plantuml-mode` for files with extension `.plantuml` or `plantuml` by adding the following to your `.emacsrc`: +You can automatically enable `plantuml-mode` for files with extension `.plantuml` by adding the following to your `.emacsrc`: ;; Enable plantuml-mode for PlantUML files (add-to-list 'auto-mode-alist '("\\.plantuml\\'" . plantuml-mode)) - (add-to-list 'auto-mode-alist '("\\.plantuml\\'" . plantuml-mode)) Of course, you can always enable manually the major mode by typing `M-x plantuml-mode` once in the desired PlantUML file buffer.