branch: externals/orderless
commit 94e8940ac1ad5ec230347c36a1bbdca42de973cf
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>

    Omit null components (fix #55)
---
 orderless.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/orderless.el b/orderless.el
index c2870a2391..ce0396dc9b 100644
--- a/orderless.el
+++ b/orderless.el
@@ -367,7 +367,7 @@ as the value of DISPATCHERS."
   (cl-loop
    with components = (if (functionp orderless-component-separator)
                          (funcall orderless-component-separator pattern)
-                       (split-string pattern orderless-component-separator))
+                       (split-string pattern orderless-component-separator t))
    with total = (length components)
    for component in components and index from 0
    for (newstyles . newcomp) = (orderless-dispatch

Reply via email to