Fix `Enable the major mode`
From `subr.el`: (add-to-list LIST-VAR ELEMENT &optional APPEND COMPARE-FN)
This commit is contained in:
parent
9d3b5e326d
commit
44af621c43
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue