emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e11813d574d: Make icomplete-tidy-shadowed-file-names into a defcu


From: Sean Whitton
Subject: master e11813d574d: Make icomplete-tidy-shadowed-file-names into a defcustom
Date: Wed, 22 Mar 2023 15:14:52 -0400 (EDT)

branch: master
commit e11813d574db1297a9b33ec2a4cba4dc3c6a16af
Author: Sean Whitton <spwhitton@spwhitton.name>
Commit: Sean Whitton <spwhitton@spwhitton.name>

    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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]