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

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

[nongnu] elpa/flx 01eef11b96 033/182: small efficiency fix


From: ELPA Syncer
Subject: [nongnu] elpa/flx 01eef11b96 033/182: small efficiency fix
Date: Tue, 13 Dec 2022 03:59:22 -0500 (EST)

branch: elpa/flx
commit 01eef11b96dced99912117bf260b0b2581522d10
Author: Le Wang <le.wang@agworld.com.au>
Commit: Le Wang <le.wang@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

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