branch: elpa/flx
commit 01eef11b96dced99912117bf260b0b2581522d10
Author: Le Wang <le.w...@agworld.com.au>
Commit: Le Wang <le.w...@agworld.com.au>

    small efficiency fix
---
 flx.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/flx.el b/flx.el
index 3b5cb08337..3147999f3c 100644
--- a/flx.el
+++ b/flx.el
@@ -13,7 +13,7 @@
 ;; Version: 0.1
 ;; Last-Updated:
 ;;           By:
-;;     Update #: 12
+;;     Update #: 13
 ;; URL:
 ;; Keywords:
 ;; Compatibility:
@@ -100,9 +100,9 @@
             (<= ?A char))))
 
 (defsubst flx-is-boundary (last-char char)
-  (or (and (not (flx-is-capital last-char))
+  (or (null last-char)
+      (and (not (flx-is-capital last-char))
            (flx-is-capital char))
-      (null last-char)
       (and (not (flx-is-word last-char))
            (flx-is-word char))))
 

Reply via email to