emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dart-mode 4232d23 041/192: Actually set the style when ini


From: ELPA Syncer
Subject: [nongnu] elpa/dart-mode 4232d23 041/192: Actually set the style when initializing the mode.
Date: Sun, 29 Aug 2021 11:01:46 -0400 (EDT)

branch: elpa/dart-mode
commit 4232d238d02825adfc30707b191d5f72daed0699
Author: Nathan Weizenbaum <nweiz@google.com>
Commit: Nathan Weizenbaum <nweiz@google.com>

    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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]