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

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

[elpa] externals/indent-bars 2889b50077 224/431: Always initialize style


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 2889b50077 224/431: Always initialize style on scope init
Date: Mon, 16 Sep 2024 12:59:31 -0400 (EDT)

branch: externals/indent-bars
commit 2889b50077339665761045dc52c4e9094af5f8dd
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    Always initialize style on scope init
---
 indent-bars-ts.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/indent-bars-ts.el b/indent-bars-ts.el
index 663c49a4d2..04c6726077 100644
--- a/indent-bars-ts.el
+++ b/indent-bars-ts.el
@@ -315,10 +315,10 @@ If FORCE is non-nil, initialize even if this has already 
been
 performed."
   (unless (or force (get 'indent-bars-ts-setup :init-scope))
     (indent-bars-ts--add-customs)
-    (indent-bars--initialize-style
-     (setq indent-bars-ts-out-scope-style
-          (indent-bars--new-style "ts")))
-    (put 'indent-bars-ts-setup :init-scope t)))
+    (put 'indent-bars-ts-setup :init-scope t))
+  (indent-bars--initialize-style
+   (setq indent-bars-ts-out-scope-style
+        (indent-bars--new-style "ts"))))
 
 (defun indent-bars-ts--teardown ()
   "Teardown indent-bars-ts."



reply via email to

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