diff options
Diffstat (limited to 'doc')
| -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 |