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

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

[elpa] externals/orderless 25c4dcf287 1/2: Avoid length=


From: ELPA Syncer
Subject: [elpa] externals/orderless 25c4dcf287 1/2: Avoid length=
Date: Sun, 29 Jan 2023 13:57:55 -0500 (EST)

branch: externals/orderless
commit 25c4dcf2878d914f572e0e33be6dd6ebdd30cd4b
Author: Omar Antolín Camarena <omar.antolin@gmail.com>
Commit: Omar Antolín Camarena <omar.antolin@gmail.com>

    Avoid length=
    
    For strings it makes no difference anyway.
---
 orderless.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/orderless.el b/orderless.el
index bec5514b6e..46fe803536 100644
--- a/orderless.el
+++ b/orderless.el
@@ -166,7 +166,7 @@ is removed and the remainder of the COMPONENT is matched in 
the
 style associated to the character."
   (cond
    ;; Ignore single without-literal dispatcher
-   ((and (length= component 1)
+   ((and (= (length component) 1)
          (equal (aref component 0)
                 (car (rassq #'orderless-without-literal
                             orderless-affix-dispatch-alist))))



reply via email to

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