Merge pull request #38 from abcdec/mode-regexp-match-fix

Fixed regexp match pattern to truely match suffixes .plantuml .pum .plu.
This commit is contained in:
Carlo Sciolla 2016-10-23 09:40:47 +02:00 committed by GitHub
commit f17a6822d0
1 changed files with 1 additions and 1 deletions

View File

@ -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"