diff options
| author | Sean Whitton | 2023-03-22 10:28:05 -0700 |
|---|---|---|
| committer | Sean Whitton | 2023-03-22 12:14:43 -0700 |
| commit | e11813d574db1297a9b33ec2a4cba4dc3c6a16af (patch) | |
| tree | 92c2e17fde9f41075469bbc086ccc0baffebb048 | |
| parent | c5f369bacc414fce6a1ed17733188f4c1cdfe317 (diff) | |
| download | emacs-e11813d574db1297a9b33ec2a4cba4dc3c6a16af.tar.gz emacs-e11813d574db1297a9b33ec2a4cba4dc3c6a16af.zip | |
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." | |||
| 69 | :type 'boolean | 69 | :type 'boolean |
| 70 | :version "24.4") | 70 | :version "24.4") |
| 71 | 71 | ||
| 72 | (defvar icomplete-tidy-shadowed-file-names nil | 72 | (defcustom icomplete-tidy-shadowed-file-names nil |
| 73 | "If non-nil, automatically delete superfluous parts of file names. | 73 | "If non-nil, automatically delete superfluous parts of file names. |
| 74 | For example, if the user types ~/ after a long path name, | 74 | For example, if the user types ~/ after a long path name, |
| 75 | everything preceding the ~/ is discarded so the interactive | 75 | everything preceding the ~/ is discarded so the interactive |
| 76 | selection process starts again from the user's $HOME.") | 76 | selection process starts again from the user's $HOME." |
| 77 | :type 'boolean) | ||
| 77 | 78 | ||
| 78 | (defcustom icomplete-show-matches-on-no-input nil | 79 | (defcustom icomplete-show-matches-on-no-input nil |
| 79 | "When non-nil, show completions when first prompting for input. | 80 | "When non-nil, show completions when first prompting for input. |