Commit 44c0e074 authored by João Távora's avatar João Távora
Browse files

* doc/emacs/buffers.texi (Icomplete): Mention icomplete-minibuffer-setup-hook.

parent 68b6dad1
Pipeline #5729 passed with stage
in 62 minutes and 23 seconds
...@@ -741,7 +741,14 @@ Ido''). Among other things, in Fido mode, @kbd{C-s} and @kbd{C-r} are ...@@ -741,7 +741,14 @@ Ido''). Among other things, in Fido mode, @kbd{C-s} and @kbd{C-r} are
also used to rotate the completions list, @kbd{C-k} can be used to also used to rotate the completions list, @kbd{C-k} can be used to
delete files and kill buffers in-list. Another noteworthy aspect is delete files and kill buffers in-list. Another noteworthy aspect is
that @code{flex} is used as the default completion style that @code{flex} is used as the default completion style
(@pxref{Completion Styles}). (@pxref{Completion Styles}). To change this, add the following to
your initialization file (@pxref{Init File}):
@example
(defun my-icomplete-styles ()
(setq-local completion-styles '(initials flex)))
(add-hook 'icomplete-minibuffer-setup-hook 'my-icomplete-styles)
@end example
To enable Fido mode, type @kbd{M-x fido-mode}, or customize To enable Fido mode, type @kbd{M-x fido-mode}, or customize
the variable @code{fido-mode} to @code{t} (@pxref{Easy the variable @code{fido-mode} to @code{t} (@pxref{Easy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment