]> git.eshelyaron.com Git - emacs.git/commitdiff
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 1cd444e6455e046e52b2b189807d92a69fe9dbbf..8deea16adb12991af913fe4f52d3f9008e46c889 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 42f50568b6e85dc8f3157aa56efc8b9ff0a007bb..da0e85e47c725a70fc54800823cc6f7089c668e0 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 6f03cba1f759d7d50e83dedfa577b5b067f8af2e..ca22d885c8d93a2d6d4641e7ea995a50374e192e 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 284481ee5241366ece21173f2e57b4f030c1226e..995565226b885f5dc5637109980f93a655bcda60 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)