From a4a017008b0048d289e0226f6655ff19ea4061f6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 22 Oct 2016 09:13:52 -0500 Subject: [PATCH] Fixed regexp match pattern to truely match suffixes .plantuml .pum .plu. --- plantuml-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plantuml-mode.el b/plantuml-mode.el index 6947bcd..cfb570d 100644 --- a/plantuml-mode.el +++ b/plantuml-mode.el @@ -349,7 +349,7 @@ Uses prefix (as PREFIX) to choose where to display it: (message "Making completion list...%s" "done"))))) ;;;###autoload -(add-to-list 'auto-mode-alist '("\\.(plantuml\\|pum\\|plantuml\\|plu)\\'" . plantuml-mode)) +(add-to-list 'auto-mode-alist '("\\.\\(plantuml\\|pum\\|plu\\)\\'" . plantuml-mode)) ;;;###autoload (define-derived-mode plantuml-mode prog-mode "plantuml"