branch: externals/orderless
commit dc3f8da02270494e57764146836082e0d849cf55
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>
Avoid other cl-pushnes in an autoload
---
orderless.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/orderless.el b/orderless.el
index 06780f4c24..16991563ea 100644
--- a/orderless.el
+++ b/orderless.el
@@ -258,11 +258,10 @@ This function is part of the `orderless' completion
style."
(t (cons string point)))))
;;;###autoload
-(cl-pushnew '(orderless
- orderless-try-completion orderless-all-completions
- "Completion of multiple components, in any order.")
- completion-styles-alist
- :test #'equal)
+(add-to-list 'completion-styles-alist
+ '(orderless
+ orderless-try-completion orderless-all-completions
+ "Completion of multiple components, in any order."))
(defvar orderless-old-component-separator nil
"Stores the old value of `orderless-component-separator'.")