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

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

[elpa] externals/indent-bars fb986dd71e 253/431: Use #'equal when record


From: ELPA Syncer
Subject: [elpa] externals/indent-bars fb986dd71e 253/431: Use #'equal when recording known styles to avoid duplicates
Date: Mon, 16 Sep 2024 12:59:35 -0400 (EDT)

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

    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



reply via email to

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