]> git.eshelyaron.com Git - emacs.git/commitdiff
Make icomplete-tidy-shadowed-file-names into a defcustom
authorSean Whitton <spwhitton@spwhitton.name>
Wed, 22 Mar 2023 17:28:05 +0000 (10:28 -0700)
committerSean Whitton <spwhitton@spwhitton.name>
Wed, 22 Mar 2023 19:14:43 +0000 (12:14 -0700)
lisp/icomplete.el (icomplete-tidy-shadowed-file-names): Make variable
into a defcustom.

lisp/icomplete.el

index 49c0c78fe7391ecac9f7e0a732e9812af5767231..6ed2cbe395c554591ae04717239301883dfbfe22 100644 (file)
@@ -69,11 +69,12 @@ When nil, show candidates in full."
   :type 'boolean
   :version "24.4")
 
-(defvar icomplete-tidy-shadowed-file-names nil
+(defcustom icomplete-tidy-shadowed-file-names nil
   "If non-nil, automatically delete superfluous parts of file names.
 For example, if the user types ~/ after a long path name,
 everything preceding the ~/ is discarded so the interactive
-selection process starts again from the user's $HOME.")
+selection process starts again from the user's $HOME."
+  :type 'boolean)
 
 (defcustom icomplete-show-matches-on-no-input nil
   "When non-nil, show completions when first prompting for input.