diff options
| author | João Távora | 2020-06-01 01:29:50 +0100 |
|---|---|---|
| committer | João Távora | 2020-06-01 01:29:50 +0100 |
| commit | 44c0e074f7cb84481785cb49515a4bd7235a074b (patch) | |
| tree | 4aeb9e15ab27295736c7f81773e7ba689a41c6f6 | |
| parent | 68b6dad1d8e22fe700871c9a5a18da3dd496cc8a (diff) | |
| download | emacs-44c0e074f7cb84481785cb49515a4bd7235a074b.tar.gz emacs-44c0e074f7cb84481785cb49515a4bd7235a074b.zip | |
* doc/emacs/buffers.texi (Icomplete): Mention icomplete-minibuffer-setup-hook.
| -rw-r--r-- | doc/emacs/buffers.texi | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index 6a53942d689..89ed470c055 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi | |||
| @@ -741,7 +741,14 @@ Ido''). Among other things, in Fido mode, @kbd{C-s} and @kbd{C-r} are | |||
| 741 | also used to rotate the completions list, @kbd{C-k} can be used to | 741 | also used to rotate the completions list, @kbd{C-k} can be used to |
| 742 | delete files and kill buffers in-list. Another noteworthy aspect is | 742 | delete files and kill buffers in-list. Another noteworthy aspect is |
| 743 | that @code{flex} is used as the default completion style | 743 | that @code{flex} is used as the default completion style |
| 744 | (@pxref{Completion Styles}). | 744 | (@pxref{Completion Styles}). To change this, add the following to |
| 745 | your initialization file (@pxref{Init File}): | ||
| 746 | |||
| 747 | @example | ||
| 748 | (defun my-icomplete-styles () | ||
| 749 | (setq-local completion-styles '(initials flex))) | ||
| 750 | (add-hook 'icomplete-minibuffer-setup-hook 'my-icomplete-styles) | ||
| 751 | @end example | ||
| 745 | 752 | ||
| 746 | To enable Fido mode, type @kbd{M-x fido-mode}, or customize | 753 | To enable Fido mode, type @kbd{M-x fido-mode}, or customize |
| 747 | the variable @code{fido-mode} to @code{t} (@pxref{Easy | 754 | the variable @code{fido-mode} to @code{t} (@pxref{Easy |