summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.org b/README.org
index f66a46a..ccea1cd 100644
--- a/README.org
+++ b/README.org
@@ -243,7 +243,7 @@ source code for further details.
#+begin_src emacs-lisp
(defun orderless-fast-dispatch (word index total)
(and (= index 0) (= total 1) (length< word 4)
- `(orderless-regexp . ,(concat "^" (regexp-quote word)))))
+ (cons 'orderless-literal-prefix word))))
(orderless-define-completion-style orderless-fast
(orderless-style-dispatchers '(orderless-fast-dispatch))