Add keybinding for vc-log-incoming in vc-dir.
authorXue Fuqiao <xfq.free@gmail.com>
Sat, 21 Sep 2013 08:16:13 +0000 (16:16 +0800)
committerXue Fuqiao <xfq.free@gmail.com>
Sat, 21 Sep 2013 08:16:13 +0000 (16:16 +0800)
* doc/emacs/maintaining.texi (VC Directory Commands): Add keybinding for
vc-log-incoming in vc-dir.
* lisp/vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.

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

index b263ca7..1fddd4a 100644 (file)
@@ -1,3 +1,8 @@
+2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
+
+       * maintaining.texi (VC Directory Commands): Add keybinding for
+       vc-log-incoming in vc-dir.
+
 2013-09-12  Xue Fuqiao  <xfq.free@gmail.com>
 
        * text.texi (Enriched Justification): Explain values of default-justification.
index 4a61db5..9cb6c70 100644 (file)
@@ -1242,7 +1242,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}, @kbd{D}, @kbd{L}, @kbd{G} and @kbd{v}.
+@kbd{i}, @kbd{D}, @kbd{L}, @kbd{G}, @kbd{I} 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 736bf8f..1cb8d53 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -275,6 +275,9 @@ whole tree revisions.
 *** In VC directory mode, `L' lists the change log for the current VC
 controlled tree in a window.
 
+*** In VC directory mode, `I' shows a log of changes that will be
+received with a pull operation.
+
 *** `C-x v G' (globally) and `G' (in VC directory mode) ignores a file
 under current version control system.  When called with a prefix
 argument, you can remove a file from the ignored file list.
index 75aea56..7e8f965 100644 (file)
@@ -1,3 +1,7 @@
+2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
+
+       * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
+
 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * subr.el (internal--call-interactively): New const.
index 5ddcfd5..1e6ec15 100644 (file)
@@ -245,6 +245,7 @@ See `run-hooks'."
     (define-key map "+" 'vc-update)       ;; C-x v +
     (define-key map "l" 'vc-print-log)    ;; C-x v l
     (define-key map "L" 'vc-print-root-log) ;; C-x v L
+    (define-key map "I" 'vc-log-incoming)   ;; C-x v I
     ;; More confusing than helpful, probably
     ;;(define-key map "R" 'vc-revert) ;; u is taken by vc-dir-unmark.
     ;;(define-key map "A" 'vc-annotate) ;; g is taken by revert-buffer
index fa5c87d..69098ef 100644 (file)
@@ -2336,7 +2336,7 @@ When called interactively with a prefix argument, prompt for LIMIT."
 ;;;###autoload
 (defun vc-log-incoming (&optional remote-location)
   "Show a log of changes that will be received with a pull operation from REMOTE-LOCATION.
-When called interactively with a prefix argument, prompt for REMOTE-LOCATION.."
+When called interactively with a prefix argument, prompt for REMOTE-LOCATION."
   (interactive
    (when current-prefix-arg
      (list (read-string "Remote location (empty for default): "))))