branch: externals/indent-bars
commit 595b856e12444fc65cadf04e68b378e73273fcb1
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>
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