branch: externals/vertico
commit e2472d110a7097659b5cd77d804a5b427306b931
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    simplify
---
 minicomp.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/minicomp.el b/minicomp.el
index dab744c..27b3006 100644
--- a/minicomp.el
+++ b/minicomp.el
@@ -217,7 +217,7 @@
 (defun minicomp--replace-prop (prop fun str)
   "Replace STR parts with PROP using FUN."
   (let ((len (length str)) (pos 0) (chunks))
-    (while (not (= pos len))
+    (while (/= pos len)
       (let ((end (next-single-property-change pos prop str len)))
         (push (if-let (val (get-text-property pos prop str))
                   (funcall fun val)

Reply via email to