From: Sean Whitton Date: Wed, 22 Mar 2023 17:28:05 +0000 (-0700) Subject: Make icomplete-tidy-shadowed-file-names into a defcustom X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e11813d574db1297a9b33ec2a4cba4dc3c6a16af;p=emacs.git Make icomplete-tidy-shadowed-file-names into a defcustom lisp/icomplete.el (icomplete-tidy-shadowed-file-names): Make variable into a defcustom. --- diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 49c0c78fe73..6ed2cbe395c 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -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.