summaryrefslogtreecommitdiff
path: root/orderless.el
diff options
context:
space:
mode:
authorOmar Antolín Camarena <omar.antolin@gmail.com>2023-01-29 12:07:21 -0600
committerOmar Antolín Camarena <omar.antolin@gmail.com>2023-01-29 12:07:21 -0600
commit25c4dcf2878d914f572e0e33be6dd6ebdd30cd4b (patch)
tree896b49e11044626207dc9004054490ce6e95f9a1 /orderless.el
parente00fbed14086b6b4bc6a604f407b2efb5721ccbf (diff)
Avoid length=
For strings it makes no difference anyway.
Diffstat (limited to 'orderless.el')
-rw-r--r--orderless.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/orderless.el b/orderless.el
index bec5514..46fe803 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))))