bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#4286: CVS: lisp/ido.el -- improve ido-ignore-files


From: Jari Aalto
Subject: bug#4286: CVS: lisp/ido.el -- improve ido-ignore-files
Date: Sat, 29 Aug 2009 11:56:19 +0300

Change against Emacs CVS tree as of 2009-08-29 11:5 UTC

2009-08-29  Jari Aalto  <address@hidden>

        * ido.el (ido-ignore-files): Add RCS, svn, darcs, sh, git, mtn
        version control directories.

>From 510e3bbded329dd9ce03f3eb94e8ffc2d6d5b9be Mon Sep 17 00:00:00 2001
From: Jari Aalto <address@hidden>
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 <address@hidden>
---
 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


reply via email to

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