skuro / plantuml-mode

A major mode for editing PlantUML sources in Emacs
GNU General Public License v3.0
511 stars 96 forks source link

Fix switching between modes #104

Closed skuro closed 5 years ago

skuro commented 5 years ago

Giving a default value to plantuml-exec-mode local var at startup time is wrong. This change keeps the local var to nil and resorts to the customizable plantuml-default-exec-mode. The local var can be set by users at will on a buffer local level, but without such an explicit opt-in then the default value is always used