branch: elpa/dart-mode
commit 4232d238d02825adfc30707b191d5f72daed0699
Author: Nathan Weizenbaum <[email protected]>
Commit: Nathan Weizenbaum <[email protected]>
Actually set the style when initializing the mode.
---
dart-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dart-mode.el b/dart-mode.el
index f2a4592..25099da 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -422,8 +422,8 @@ Key bindings:
mode-name "Dart")
(use-local-map dart-mode-map)
(c-init-language-vars dart-mode)
- (let ((c-default-style '((dart-mode . "dart"))))
- (c-common-init 'dart-mode))
+ (c-common-init 'dart-mode)
+ (c-set-style "dart")
(run-hooks 'c-mode-common-hook)
(run-hooks 'dart-mode-hook)
(c-update-modeline))