From 510e3bbded329dd9ce03f3eb94e8ffc2d6d5b9be Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sat, 29 Aug 2009 11:51:32 +0300 Subject: [PATCH] lisp/ido.el: (ido-ignore-files): add more version control directories Signed-off-by: Jari Aalto --- lisp/ido.el | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/lisp/ido.el b/lisp/ido.el index 2336fea..6316bdf 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -391,7 +391,21 @@ example functions that filter buffer names." :group 'ido) (defcustom ido-ignore-files - '("\\`CVS/" "\\`#" "\\`.#" "\\`\\.\\./" "\\`\\./") + '(;; Version control system directories (VCS) + "\\`CVS/" + "\\`RCS/" + "\\`\\.svn/" + ;; Distributed version control system directories (DVCS) + "\\`\\.darcs/" + "\\`\\.hg/" + "\\`\\.git/" + "\\`\\.mtn/" + ;; Backup files + "\\`#" + "\\`.#" + ;; Directory components + "\\`\\.\\./" + "\\`\\./") "List of regexps or functions matching file names to ignore. For example, traditional behavior is not to list files whose names begin with a #, for which the regexp is `\\`#'. See the source file for -- 1.6.3.3