Keybinding fix for vc-dir.
authorXue Fuqiao <xfq.free@gmail.com>
Sat, 27 Jul 2013 00:09:51 +0000 (08:09 +0800)
committerXue Fuqiao <xfq.free@gmail.com>
Sat, 27 Jul 2013 00:09:51 +0000 (08:09 +0800)
* lisp/vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
* doc/emacs/maintaining.texi (VC Directory Commands): Mention `D' and `L' in vc-dir.

doc/emacs/ChangeLog
doc/emacs/maintaining.texi
etc/NEWS
lisp/ChangeLog
lisp/vc/vc-dir.el

index ad2f091..810dcac 100644 (file)
@@ -1,3 +1,7 @@
+2013-07-27  Xue Fuqiao  <xfq.free@gmail.com>
+
+       * maintaining.texi (VC Directory Commands): Mention `D' and `L' in vc-dir.
+
 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
 
        * display.texi (Fringes): Document the variable fringe-mode.
index e89660d..6184684 100644 (file)
@@ -1222,7 +1222,7 @@ Revisions}), and @w{@kbd{C-x v u}} (@pxref{VC Undo}).
 
   The VC Directory buffer also defines some single-key shortcuts for
 VC commands with the @kbd{C-x v} prefix: @kbd{=}, @kbd{+}, @kbd{l},
-@kbd{i}, and @kbd{v}.
+@kbd{i}, @kbd{D}, @kbd{L} and @kbd{v}.
 
   For example, you can commit a set of edited files by opening a VC
 Directory buffer, where the files are listed with the @samp{edited}
index 6f64554..1aa3749 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -233,6 +233,11 @@ The default separator is changed to allow surrounding spaces around the comma.
 *** New variable `diary-from-outlook-function', used by the command
 `diary-from-outlook'.
 
+** VC Directory Mode
+
+*** `D' displays diffs between VC-controlled whole tree revisions.
+*** `L' lists the change log for the current VC controlled tree in a window.
+
 ** cl-lib
 
 *** New macro cl-tagbody.
index 65bbc8a..ef409aa 100644 (file)
@@ -1,3 +1,7 @@
+2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
+
+       * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
+
 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
index 325e66e..7df2bd6 100644 (file)
@@ -237,6 +237,7 @@ See `run-hooks'."
     ;; VC commands
     (define-key map "v" 'vc-next-action)   ;; C-x v v
     (define-key map "=" 'vc-diff)         ;; C-x v =
+    (define-key map "D" 'vc-root-diff)    ;; C-x v D
     (define-key map "i" 'vc-register)     ;; C-x v i
     (define-key map "+" 'vc-update)       ;; C-x v +
     (define-key map "l" 'vc-print-log)    ;; C-x v l