Fix for vc-ignore.
authorXue Fuqiao <xfq.free@gmail.com>
Tue, 30 Jul 2013 14:29:14 +0000 (22:29 +0800)
committerXue Fuqiao <xfq.free@gmail.com>
Tue, 30 Jul 2013 14:29:14 +0000 (22:29 +0800)
* vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.

* vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.

etc/NEWS
lisp/ChangeLog
lisp/vc/vc-dir.el
lisp/vc/vc-hooks.el

index 1cd444e..8deea16 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -237,7 +237,7 @@ The default separator is changed to allow surrounding spaces around the comma.
 
 *** `D' displays diffs between VC-controlled whole tree revisions.
 *** `L' lists the change log for the current VC controlled tree in a window.
-*** `I' ignores the file under current version control system.
+*** `G' ignores the file under current version control system.
 
 ** cl-lib
 
index 42f5056..da0e85e 100644 (file)
@@ -5,6 +5,10 @@
 
 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
 
+       * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
+
+       * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
+
        * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
        buffer for output.
 
index 6f03cba..ca22d88 100644 (file)
@@ -279,7 +279,7 @@ See `run-hooks'."
     (define-key map "Q" 'vc-dir-query-replace-regexp)
     (define-key map (kbd "M-s a C-s")   'vc-dir-isearch)
     (define-key map (kbd "M-s a M-C-s") 'vc-dir-isearch-regexp)
-    (define-key map "I" 'vc-dir-ignore)
+    (define-key map "G" 'vc-dir-ignore)
 
     ;; Hook up the menu.
     (define-key map [menu-bar vc-dir-mode]
index 284481e..9955652 100644 (file)
@@ -918,6 +918,7 @@ current, and kill the buffer that visits the link."
     (define-key map "c" 'vc-rollback)
     (define-key map "d" 'vc-dir)
     (define-key map "g" 'vc-annotate)
+    (define-key map "G" 'vc-ignore)
     (define-key map "h" 'vc-insert-headers)
     (define-key map "i" 'vc-register)
     (define-key map "l" 'vc-print-log)