branch: externals/bufferlo
commit b70886d88ebf638c3282cbe095abbc859a7768e1
Author: shipmints <shipmi...@gmail.com>
Commit: Flo Rommel <m...@florommel.de>

    equal faster than string=
---
 bufferlo.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bufferlo.el b/bufferlo.el
index 342f7d9070..a01b3ac2ba 100644
--- a/bufferlo.el
+++ b/bufferlo.el
@@ -1357,7 +1357,7 @@ advised functions.  Honors 
`bufferlo-bookmark-frame-duplicate-policy'."
   (when-let* ((bookmark-name (frame-parameter nil 
'bufferlo-bookmark-frame-name))
               (abm (assoc bookmark-name (bufferlo--active-bookmarks)))
               (this+at-least-one-other
-               (> (seq-count (lambda (x) (string= bookmark-name (car x)))
+               (> (seq-count (lambda (x) (equal bookmark-name (car x)))
                              (bufferlo--active-bookmarks))
                   1)))
     (let* ((msg nil)
@@ -1395,7 +1395,7 @@ advised functions.  Honors 
`bufferlo-bookmark-frame-duplicate-policy'."
 Honors `bufferlo-bookmark-tab-duplicate-policy'."
   (when-let* ((bookmark-name (alist-get 'bufferlo-bookmark-tab-name tab))
               (this+at-least-one-other
-               (> (seq-count (lambda (x) (string= bookmark-name (car x)))
+               (> (seq-count (lambda (x) (equal bookmark-name (car x)))
                              (bufferlo--active-bookmarks))
                   1)))
     (let* ((msg nil)

Reply via email to