summaryrefslogtreecommitdiff
path: root/lisp/pcvs.el
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2004-06-10 08:29:32 +0000
committerKim F. Storm <storm@cua.dk>2004-06-10 08:29:32 +0000
commita9b1046892210cb924a92973676d9076a64977b4 (patch)
tree76174d07a8fa9def30647bcc50b7d10fc0690b13 /lisp/pcvs.el
parent34ffe0432c6597f059bdc831fdbffa87b26eaf4e (diff)
downloademacs-a9b1046892210cb924a92973676d9076a64977b4.tar.gz
(cvs-mode-diff-yesterday): New command.
Diffstat (limited to 'lisp/pcvs.el')
-rw-r--r--lisp/pcvs.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/pcvs.el b/lisp/pcvs.el
index 9e518d791ec..73f7106d0e8 100644
--- a/lisp/pcvs.el
+++ b/lisp/pcvs.el
@@ -1565,6 +1565,12 @@ See ``cvs-mode-diff'' for more info."
(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."