aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2020-06-01 01:29:50 +0100
committerJoão Távora2020-06-01 01:29:50 +0100
commit44c0e074f7cb84481785cb49515a4bd7235a074b (patch)
tree4aeb9e15ab27295736c7f81773e7ba689a41c6f6
parent68b6dad1d8e22fe700871c9a5a18da3dd496cc8a (diff)
downloademacs-44c0e074f7cb84481785cb49515a4bd7235a074b.tar.gz
emacs-44c0e074f7cb84481785cb49515a4bd7235a074b.zip
* doc/emacs/buffers.texi (Icomplete): Mention icomplete-minibuffer-setup-hook.
-rw-r--r--doc/emacs/buffers.texi9
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
741also used to rotate the completions list, @kbd{C-k} can be used to 741also used to rotate the completions list, @kbd{C-k} can be used to
742delete files and kill buffers in-list. Another noteworthy aspect is 742delete files and kill buffers in-list. Another noteworthy aspect is
743that @code{flex} is used as the default completion style 743that @code{flex} is used as the default completion style
744(@pxref{Completion Styles}). 744(@pxref{Completion Styles}). To change this, add the following to
745your 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
747the variable @code{fido-mode} to @code{t} (@pxref{Easy 754the variable @code{fido-mode} to @code{t} (@pxref{Easy