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

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

[nongnu] elpa/dart-mode 9d72469 169/192: Don't set variables globally


From: ELPA Syncer
Subject: [nongnu] elpa/dart-mode 9d72469 169/192: Don't set variables globally
Date: Sun, 29 Aug 2021 11:02:11 -0400 (EDT)

branch: elpa/dart-mode
commit 9d7246971d8593fb8634a8813231679afd86b49f
Author: Brady Trainor <mail@bradyt.com>
Commit: Brady Trainor <mail@bradyt.com>

    Don't set variables globally
---
 dart-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dart-mode.el b/dart-mode.el
index b209d04..fddee29 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -1958,11 +1958,11 @@ Key bindings:
   (modify-syntax-entry ?\n "> b")
   (modify-syntax-entry ?\' "\"")
   (setq-local electric-indent-chars '(?\n ?\) ?\] ?\}))
-  (setq comment-start "//")
-  (setq comment-end "")
+  (setq-local comment-start "//")
+  (setq-local comment-end "")
   (setq fill-column 80)
   (setq font-lock-defaults dart-font-lock-defaults)
-  (setq indent-line-function 'dart-indent-line-function)
+  (setq-local indent-line-function 'dart-indent-line-function)
   (setq indent-tabs-mode nil)
   (setq tab-width 2)
   (setq-local syntax-propertize-function dart-syntax-propertize-function)



reply via email to

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