@findex icomplete-mode
@cindex Icomplete mode
- Icomplete provides a convenient way to quickly select an
+ Icomplete mode provides a convenient way to quickly select an
element among the possible completions in a minibuffer. When enabled, typing
in the minibuffer continuously displays a list of possible completions that
match the string you have typed.
icomplete-mode}, or customize the variable @code{icomplete-mode} to
@code{t} (@pxref{Easy Customization}).
- You can also additionally enable Icomplete for @kbd{C-M-i} (the
+ You can also additionally enable Icomplete mode for @kbd{C-M-i} (the
command @code{completion-at-point}) by customizing the variable
@code{icomplete-in-buffer} to @code{t}. For in-buffer completion, the
-@code{completion-auto-help} variable controls when Icomplete's display
-of possible completions appears. The default value of @code{t} means
-that the display of possible completions appears when you first type
-@kbd{C-M-i}.
-
- By default, when you press @kbd{C-M-i}, both Icomplete's in-buffer
-display of possible completions and the @file{*Completions*} buffer
-appear. If you are using @code{icomplete-in-buffer}, then you may
-wish to suppress this apperance of the @file{*Completions*} buffer.
-To do that, add the following to your initialization file (@pxref{Init
-File}):
+@code{completion-auto-help} variable controls when Icomplete mode's
+display of possible completions appears. The default value of
+@code{t} means that the display of possible completions appears when
+you first type @kbd{C-M-i}.
+
+ By default, when you press @kbd{C-M-i}, both Icomplete mode's
+in-buffer display of possible completions and the @file{*Completions*}
+buffer appear. If you are using @code{icomplete-in-buffer}, then you
+may wish to suppress this apperance of the @file{*Completions*}
+buffer. To do that, add the following to your initialization file
+(@pxref{Init File}):
@example
(advice-add 'completion-at-point :after #'minibuffer-hide-completions)