branch: externals/indent-bars
commit fb986dd71ebdb38bc424aa7f3b0f0fddd49208de
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>
Use #'equal when recording known styles to avoid duplicates
---
indent-bars.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/indent-bars.el b/indent-bars.el
index a2742f6e04..c7d31c4ddd 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -542,7 +542,7 @@ Additional `format' arguments can be passed as R."
(defun indent-bars--new-style (&optional tag)
"Create and record a new style struct with TAG."
(let ((style (ibs/create tag)))
- (cl-pushnew style indent-bars--styles)
+ (cl-pushnew style indent-bars--styles :test #'equal)
style))
;;;;; Colors