summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Antolín <omar.antolin@gmail.com>2020-04-24 23:18:12 -0500
committerOmar Antolín <omar.antolin@gmail.com>2020-04-24 23:18:12 -0500
commitdc3f8da02270494e57764146836082e0d849cf55 (patch)
tree980cee23efa5706353613d3f81340c70d657069b
parent50c83f2752f803e413125acc90ebcb09d98fe8db (diff)
Avoid other cl-pushnes in an autoload
-rw-r--r--orderless.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/orderless.el b/orderless.el
index 06780f4..1699156 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'.")