diff options
| author | Juanma Barranquero | 2009-01-29 08:53:37 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2009-01-29 08:53:37 +0000 |
| commit | bcca751d83bb8aacf53fc4e166534cb4e9def821 (patch) | |
| tree | 64dce2334580737273caa2987881ccbc565da30e /lisp | |
| parent | 3c8ccebbcd0edfef52b72b06c6a6b329ecea0939 (diff) | |
| download | emacs-bcca751d83bb8aacf53fc4e166534cb4e9def821.tar.gz emacs-bcca751d83bb8aacf53fc4e166534cb4e9def821.zip | |
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.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/bindings.el | 2 | ||||
| -rw-r--r-- | lisp/pcvs.el | 3 | ||||
| -rw-r--r-- | lisp/vc-svn.el | 3 |
4 files changed, 13 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 65d7917c616..e7877671742 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2009-01-29 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * bindings.el (completion-ignored-extensions): | ||
| 4 | Add entries for VCS metadata directories (CVS/, .svn, etc). | ||
| 5 | |||
| 6 | * pcvs.el (completion-ignored-extensions): | ||
| 7 | * vc-svn.el (completion-ignored-extensions): Don't add VCS-specific | ||
| 8 | directory, now done in bindings.el. | ||
| 9 | |||
| 1 | 2009-01-29 Klaus Straubinger <KSNetz@UseNet.ArcorNews.DE> (tiny change) | 10 | 2009-01-29 Klaus Straubinger <KSNetz@UseNet.ArcorNews.DE> (tiny change) |
| 2 | 11 | ||
| 3 | * pcmpl-rpm.el (pcmpl-rpm): Doc fix. | 12 | * pcmpl-rpm.el (pcmpl-rpm): Doc fix. |
| @@ -42,8 +51,8 @@ | |||
| 42 | 51 | ||
| 43 | 2009-01-28 Michael Albinus <michael.albinus@gmx.de> | 52 | 2009-01-28 Michael Albinus <michael.albinus@gmx.de> |
| 44 | 53 | ||
| 45 | * net/dbus.el (dbus-event-error-hooks): Fix docstring. Describe | 54 | * net/dbus.el (dbus-event-error-hooks): Fix docstring. |
| 46 | second parameter of hook functions. | 55 | Describe second parameter of hook functions. |
| 47 | (dbus-handle-event): Apply it. | 56 | (dbus-handle-event): Apply it. |
| 48 | 57 | ||
| 49 | 2009-01-28 Chong Yidong <cyd@stupidchicken.com> | 58 | 2009-01-28 Chong Yidong <cyd@stupidchicken.com> |
diff --git a/lisp/bindings.el b/lisp/bindings.el index 36f9489c998..88073a85da1 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -600,6 +600,8 @@ is okay. See `mode-line-format'.") | |||
| 600 | ".a" ".ln" ".blg" ".bbl"))) | 600 | ".a" ".ln" ".blg" ".bbl"))) |
| 601 | '(".elc" ".lof" | 601 | '(".elc" ".lof" |
| 602 | ".glo" ".idx" ".lot" | 602 | ".glo" ".idx" ".lot" |
| 603 | ;; VCS metadata directories | ||
| 604 | ".svn/" ".hg/" ".git/" ".bzr/" "CVS/" "_darcs/" "_MTN/" | ||
| 603 | ;; TeX-related | 605 | ;; TeX-related |
| 604 | ".fmt" ".tfm" | 606 | ".fmt" ".tfm" |
| 605 | ;; Java compiled | 607 | ;; Java compiled |
diff --git a/lisp/pcvs.el b/lisp/pcvs.el index 64606f6dfe2..dc01c45ad3f 100644 --- a/lisp/pcvs.el +++ b/lisp/pcvs.el | |||
| @@ -2325,9 +2325,6 @@ this file, or a list of arguments to send to the program." | |||
| 2325 | ;;;; useful global settings | 2325 | ;;;; useful global settings |
| 2326 | ;;;; | 2326 | ;;;; |
| 2327 | 2327 | ||
| 2328 | ;;;###autoload | ||
| 2329 | (add-to-list 'completion-ignored-extensions "CVS/") | ||
| 2330 | |||
| 2331 | ;; | 2328 | ;; |
| 2332 | ;; Hook to allow calling PCL-CVS by visiting the /CVS subdirectory | 2329 | ;; Hook to allow calling PCL-CVS by visiting the /CVS subdirectory |
| 2333 | ;; | 2330 | ;; |
diff --git a/lisp/vc-svn.el b/lisp/vc-svn.el index 5c444ffee72..884ab4d2879 100644 --- a/lisp/vc-svn.el +++ b/lisp/vc-svn.el | |||
| @@ -119,9 +119,6 @@ want to force an empty list of arguments, use t." | |||
| 119 | ;;;###autoload (load "vc-svn") | 119 | ;;;###autoload (load "vc-svn") |
| 120 | ;;;###autoload (vc-svn-registered f)))) | 120 | ;;;###autoload (vc-svn-registered f)))) |
| 121 | 121 | ||
| 122 | ;;;###autoload | ||
| 123 | (add-to-list 'completion-ignored-extensions ".svn/") | ||
| 124 | |||
| 125 | (defun vc-svn-registered (file) | 122 | (defun vc-svn-registered (file) |
| 126 | "Check if FILE is SVN registered." | 123 | "Check if FILE is SVN registered." |
| 127 | (when (file-readable-p (expand-file-name (concat vc-svn-admin-directory | 124 | (when (file-readable-p (expand-file-name (concat vc-svn-admin-directory |