changeset 56011:bf2ee754eeed

(cvs-mode-diff-yesterday): New command.
author Kim F. Storm <storm@cua.dk>
date Thu, 10 Jun 2004 08:29:32 +0000
parents 42cb534d806a
children 6a40a8c28db7
files lisp/pcvs.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/pcvs.el	Thu Jun 10 08:29:12 2004 +0000
+++ b/lisp/pcvs.el	Thu Jun 10 08:29:32 2004 +0000
@@ -1565,6 +1565,12 @@
   (interactive (list (cvs-flags-query 'cvs-diff-flags "cvs diff flags")))
   (cvs-mode-diff-1 (cons "-rHEAD" flags)))
 
+(defun-cvs-mode (cvs-mode-diff-yesterday . SIMPLE) (flags)
+  "Diff the selected files against yesterday's head of the current branch.
+See ``cvs-mode-diff'' for more info."
+  (interactive (list (cvs-flags-query 'cvs-diff-flags "cvs diff flags")))
+  (cvs-mode-diff-1 (cons "-Dyesterday" flags)))
+
 (defun-cvs-mode (cvs-mode-diff-vendor . SIMPLE) (flags)
   "Diff the selected files against the head of the vendor branch.
 See ``cvs-mode-diff'' for more info."