emacs-diffs
[Top][All Lists]
Advanced

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

emacs-27 44c0e07: * doc/emacs/buffers.texi (Icomplete): Mention icomplet


From: Joo Tvora
Subject: emacs-27 44c0e07: * doc/emacs/buffers.texi (Icomplete): Mention icomplete-minibuffer-setup-hook.
Date: Sun, 31 May 2020 20:37:02 -0400 (EDT)

branch: emacs-27
commit 44c0e074f7cb84481785cb49515a4bd7235a074b
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    * doc/emacs/buffers.texi (Icomplete): Mention 
icomplete-minibuffer-setup-hook.
---
 doc/emacs/buffers.texi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi
index 6a53942..89ed470 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
 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
 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
 the variable @code{fido-mode} to @code{t} (@pxref{Easy



reply via email to

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