Fix for vc-ignore.

* 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.
This commit is contained in:
Xue Fuqiao 2013-07-30 22:29:14 +08:00
parent 5a2a77359a
commit 207d1d0462
4 changed files with 7 additions and 2 deletions

View file

@ -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

View 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.

View 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]

View 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)