changeset 101635:929f3ad94b86

Exclude VCS metadata dirs from completion. * bindings.el (completion-ignored-extensions): Add entries for VCS metadata directories (CVS/, .svn, etc). * pcvs.el (completion-ignored-extensions): * vc-svn.el (completion-ignored-extensions): Don't add VCS-specific directory, now done in bindings.el.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 29 Jan 2009 08:53:37 +0000
parents 31ebb1cb873f
children 6bbb2d204513
files lisp/ChangeLog lisp/bindings.el lisp/pcvs.el lisp/vc-svn.el
diffstat 4 files changed, 13 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Jan 29 03:43:39 2009 +0000
+++ b/lisp/ChangeLog	Thu Jan 29 08:53:37 2009 +0000
@@ -1,3 +1,12 @@
+2009-01-29  Juanma Barranquero  <lekktu@gmail.com>
+
+	* bindings.el (completion-ignored-extensions):
+	Add entries for VCS metadata directories (CVS/, .svn, etc).
+
+	* pcvs.el (completion-ignored-extensions):
+	* vc-svn.el (completion-ignored-extensions): Don't add VCS-specific
+	directory, now done in bindings.el.
+
 2009-01-29  Klaus Straubinger  <KSNetz@UseNet.ArcorNews.DE>  (tiny change)
 
 	* pcmpl-rpm.el (pcmpl-rpm): Doc fix.
@@ -42,8 +51,8 @@
 
 2009-01-28  Michael Albinus  <michael.albinus@gmx.de>
 
-	* net/dbus.el (dbus-event-error-hooks): Fix docstring.  Describe
-	second parameter of hook functions.
+	* net/dbus.el (dbus-event-error-hooks): Fix docstring.
+	Describe second parameter of hook functions.
 	(dbus-handle-event): Apply it.
 
 2009-01-28  Chong Yidong  <cyd@stupidchicken.com>
--- a/lisp/bindings.el	Thu Jan 29 03:43:39 2009 +0000
+++ b/lisp/bindings.el	Thu Jan 29 08:53:37 2009 +0000
@@ -600,6 +600,8 @@
 		".a" ".ln" ".blg" ".bbl")))
        '(".elc" ".lof"
 	 ".glo" ".idx" ".lot"
+	 ;; VCS metadata directories
+	 ".svn/" ".hg/" ".git/" ".bzr/" "CVS/" "_darcs/" "_MTN/"
 	 ;; TeX-related
 	 ".fmt" ".tfm"
 	 ;; Java compiled
--- a/lisp/pcvs.el	Thu Jan 29 03:43:39 2009 +0000
+++ b/lisp/pcvs.el	Thu Jan 29 08:53:37 2009 +0000
@@ -2325,9 +2325,6 @@
 ;;;; useful global settings
 ;;;;
 
-;;;###autoload
-(add-to-list 'completion-ignored-extensions "CVS/")
-
 ;;
 ;; Hook to allow calling PCL-CVS by visiting the /CVS subdirectory
 ;;
--- a/lisp/vc-svn.el	Thu Jan 29 03:43:39 2009 +0000
+++ b/lisp/vc-svn.el	Thu Jan 29 08:53:37 2009 +0000
@@ -119,9 +119,6 @@
 ;;;###autoload       (load "vc-svn")
 ;;;###autoload       (vc-svn-registered f))))
 
-;;;###autoload
-(add-to-list 'completion-ignored-extensions ".svn/")
-
 (defun vc-svn-registered (file)
   "Check if FILE is SVN registered."
   (when (file-readable-p (expand-file-name (concat vc-svn-admin-directory