summaryrefslogtreecommitdiff
path: root/lisp/icomplete.el
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-03-03 19:17:40 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-03-03 19:17:40 -0700
commit682fb19dc3215dde4b3b0330e5b513e7102c531f (patch)
treeed95af12bd4b270c27828a73b6b87ecca56ff134 /lisp/icomplete.el
parentdff9657c6c039ad35734f1d98e0ccc71b85a1a24 (diff)
downloademacs-682fb19dc3215dde4b3b0330e5b513e7102c531f.tar.gz
* lisp/icomplete.el (icomplete-in-buffer): Make into a defcustom.
Diffstat (limited to 'lisp/icomplete.el')
-rw-r--r--lisp/icomplete.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index 47fdf3e7913..e0b591739ef 100644
--- a/lisp/icomplete.el
+++ b/lisp/icomplete.el
@@ -137,10 +137,11 @@ See `icomplete-delay-completions-threshold'."
"Maximum number of initial chars to apply `icomplete-compute-delay'."
:type 'integer)
-(defvar icomplete-in-buffer nil
+(defcustom icomplete-in-buffer nil
"If non-nil, also use Icomplete when completing in non-mini buffers.
This affects commands like `completion-in-region', but not commands
-that use their own completions setup.")
+that use their own completions setup."
+ :type 'boolean)
(defcustom icomplete-minibuffer-setup-hook nil
"Icomplete-specific customization of minibuffer setup.