From 44af621c4314c14670dbc72718309963fcb2965d Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Mon, 28 Dec 2015 16:10:38 -0500 Subject: [PATCH] Fix `Enable the major mode` From `subr.el`: (add-to-list LIST-VAR ELEMENT &optional APPEND COMPARE-FN) --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9d9f64f..a8066ab 100644 --- a/README.md +++ b/README.md @@ -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.