; * lisp/icomplete.el (icomplete-in-buffer): Doc fix (bug#73820).
authorEli Zaretskii <eliz@gnu.org>
Wed, 16 Oct 2024 05:32:02 +0000 (08:32 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 16 Oct 2024 05:32:02 +0000 (08:32 +0300)
lisp/icomplete.el

index 2ea5e36fa88dace8e034be8dc5b88a0034520eee..f3569789e646495cc7c40879c3f0f5a1477705c5 100644 (file)
@@ -139,9 +139,17 @@ See `icomplete-delay-completions-threshold'."
   :type 'integer)
 
 (defcustom icomplete-in-buffer nil
-  "If non-nil, also use Icomplete when completing in non-mini buffers.
+  "If non-nil, use Icomplete when completing in buffers other than minibuffer.
 This affects commands like `completion-in-region', but not commands
-that use their own completions setup."
+that use their own completions setup.
+
+If you would prefer to see only Icomplete's in-buffer display, but do
+not want the \"*Completions*\" buffer to pop up in those cases, add
+this advice to your init file:
+
+  (advice-add \\='completion-at-point
+              :after #\\='minibuffer-hide-completions)
+"
   :type 'boolean)
 
 (defcustom icomplete-minibuffer-setup-hook nil