From e11813d574db1297a9b33ec2a4cba4dc3c6a16af Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 22 Mar 2023 10:28:05 -0700 Subject: [PATCH] Make icomplete-tidy-shadowed-file-names into a defcustom lisp/icomplete.el (icomplete-tidy-shadowed-file-names): Make variable into a defcustom. --- lisp/icomplete.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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. -- 2.39.5