emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r100990: * lisp/vc/diff-mode.el (diff


From: Dan Nicolaescu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100990: * lisp/vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
Date: Thu, 05 Aug 2010 21:01:00 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100990
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Thu 2010-08-05 21:01:00 -0700
message:
  * lisp/vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
modified:
  etc/NEWS
  lisp/ChangeLog
  lisp/vc/diff-mode.el
=== modified file 'etc/NEWS'
--- a/etc/NEWS  2010-08-01 13:57:07 +0000
+++ b/etc/NEWS  2010-08-06 04:01:00 +0000
@@ -258,6 +258,9 @@
 **** vc-bzr handles Author:, Date: and Fixes:
 **** vc-mtn handles Author: and Date:
 
+*** Pressing g in a *vc-diff* buffer reruns vc-diff, so it will
+produce an up to date diff.
+
 ** Directory local variables can apply to file-less buffers.
 For example, adding "(diff-mode . ((mode . whitespace)))" to your
 .dir-locals.el file, will turn on `whitespace-mode' for *vc-diff* buffers.

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-08-05 17:11:32 +0000
+++ b/lisp/ChangeLog    2010-08-06 04:01:00 +0000
@@ -1,3 +1,7 @@
+2010-08-06  Dan Nicolaescu  <address@hidden>
+
+       * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
+
 2010-08-05  Eli Zaretskii  <address@hidden>
 
        * emacs-lisp/find-gc.el (find-gc-source-files): Rename

=== modified file 'lisp/vc/diff-mode.el'
--- a/lisp/vc/diff-mode.el      2010-06-29 18:17:31 +0000
+++ b/lisp/vc/diff-mode.el      2010-08-06 04:01:00 +0000
@@ -141,6 +141,7 @@
     ;; Standard M-r is useful, so don't change M-r or M-R.
     ;;("r" . diff-restrict-view)
     ;;("R" . diff-reverse-direction)
+    ("g" . revert-buffer)
     ("q" . quit-window))
   "Basic keymap for `diff-mode', bound to various prefix keys.")
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]