From 2832886b5987a5b078677f5b187cdc9d8ae6fcd1 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Tue, 26 Mar 2024 08:46:40 +0100 Subject: README: Simplify --- README.org | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index 19013f9..dda27cf 100644 --- a/README.org +++ b/README.org @@ -491,16 +491,15 @@ If you use the ~orderless~ completion style, then expansion works differently by default. Orderless only expands to single matching candidates, since due to its multi-component input, there does not necessarily exist an expansion to a common candidate prefix. However it is possible to define a separate ~tab~ completion -style and register it as follows for Corfu. The ~tab~ completion style will only -take over ~TAB~ completion (if prefix expansion is possible), but besides that -won't affect Orderless candidate filtering. +style. The ~tab~ completion style will only take over ~TAB~ completion (if prefix +expansion is possible), but besides that won't affect Orderless candidate +filtering. #+begin_src emacs-lisp (add-to-list 'completion-styles-alist '(tab completion-basic-try-completion ignore "Completion style which provides TAB completion only.")) -(add-hook 'corfu-mode-hook - (lambda () (setq-local completion-styles '(tab orderless basic)))) +(setq completion-styles '(tab orderless basic))) #+end_src ** Transfer completion to the minibuffer -- cgit v1.0