Fix regexp of auto-mode-alist

And use "\'" end of string anchor instead of "$".
This commit is contained in:
Syohei YOSHIDA 2016-10-17 15:21:00 +09:00
parent 9001192acf
commit 940a1a7937
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,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\\|plantuml\\|plu)\\'" . plantuml-mode))
;;;###autoload
(define-derived-mode plantuml-mode prog-mode "plantuml"