]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/icomplete.el (icomplete-in-buffer): Make into a defcustom.
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 4 Mar 2023 02:17:40 +0000 (19:17 -0700)
committerSean Whitton <spwhitton@spwhitton.name>
Sat, 4 Mar 2023 02:17:40 +0000 (19:17 -0700)
lisp/icomplete.el

index 47fdf3e79133f958d864fb4224fb382d1b56a296..e0b591739efe85b6406019c784f6b69313dfbea8 100644 (file)
@@ -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.