Merge pull request #13 from leafac/patch-1

Fix `Enable the major mode` for `.plantuml` file extension
This commit is contained in:
Carlo Sciolla 2016-01-04 11:18:19 +01:00
commit 966064f371
1 changed files with 2 additions and 3 deletions

View File

@ -40,9 +40,8 @@ Enable the major mode
You can automatically enable `puml-mode` for files with extension `.puml` or `plantuml` by adding the following to your `.emacsrc`:
;; Enable puml-mode for PlantUML files
(add-to-list 'auto-mode-alist
'("\\.puml\\'" . puml-mode)
'("\\.plantuml\\'" . puml-mode))
(add-to-list 'auto-mode-alist '("\\.puml\\'" . puml-mode))
(add-to-list 'auto-mode-alist '("\\.plantuml\\'" . puml-mode))
Of course, you can always enable manually the major mode by typing `M-x puml-mode` once in the desired PlantUML file buffer.