diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-03-22 10:28:05 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-03-22 12:14:43 -0700 |
commit | e11813d574db1297a9b33ec2a4cba4dc3c6a16af (patch) | |
tree | 92c2e17fde9f41075469bbc086ccc0baffebb048 | |
parent | c5f369bacc414fce6a1ed17733188f4c1cdfe317 (diff) | |
download | emacs-e11813d574db1297a9b33ec2a4cba4dc3c6a16af.tar.gz |
Make icomplete-tidy-shadowed-file-names into a defcustom
lisp/icomplete.el (icomplete-tidy-shadowed-file-names): Make variable
into a defcustom.
-rw-r--r-- | lisp/icomplete.el | 5 |
1 files 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. |