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

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

[elpa] externals/indent-bars 595b856e12 248/431: De-duplicate seen style


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 595b856e12 248/431: De-duplicate seen styles in case a style is re-initialized
Date: Mon, 16 Sep 2024 12:59:34 -0400 (EDT)

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

    De-duplicate seen styles in case a style is re-initialized
---
 indent-bars.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indent-bars.el b/indent-bars.el
index 5241638175..411fc1bf70 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -535,7 +535,7 @@ layout of font size changes.")
 (defun indent-bars--new-style (&optional tag)
   "Create and record a new style struct with TAG."
   (let ((style (ibs/create tag)))
-    (push style indent-bars--styles)
+    (cl-pushnew style indent-bars--styles)
     style))
 
 ;;;;; Colors



reply via email to

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