help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switching orderloss off


From: Doug Davis
Subject: Re: Switching orderloss off
Date: Thu, 10 Jun 2021 21:15:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

arvid-harnack@lavache.com writes:

> I am using orderless completion in minibuffer 
>
>
>
>    (require 'orderless)
>
>    (setq completion-styles '(orderless))
>
>
>
> But I have no clue how to switch it off should I want to.

This is what I have in my init.el to use orderless in the minibuffer
only:

#+begin_src emacs-lisp
  (defun dd/use-orderless-in-minibuffer ()
    (interactive)
    (setq-local completion-styles '(orderless)))

  (add-hook 'minibuffer-setup-hook 'dd/use-orderless-in-minibuffer)
#+end_src



reply via email to

[Prev in Thread] Current Thread [Next in Thread]