# HG changeset patch # User Andr Spiegel # Date 983195106 0 # Node ID 20a768ca0cf87b7a7571417a10dd98791b5300a1 # Parent a03841f1cfa3ec79a6a3e3136343f2e65e0e2426 (vc-default-workfile-unchanged-p, vc-default-latest-on-branch-p): Add missing BACKEND argument. diff -r a03841f1cfa3 -r 20a768ca0cf8 lisp/vc.el --- a/lisp/vc.el Mon Feb 26 13:08:00 2001 +0000 +++ b/lisp/vc.el Mon Feb 26 13:45:06 2001 +0000 @@ -5,7 +5,7 @@ ;; Author: FSF (see below for full credits) ;; Maintainer: Andre Spiegel -;; $Id: vc.el,v 1.295 2001/02/01 15:08:49 spiegel Exp $ +;; $Id: vc.el,v 1.296 2001/02/01 17:41:06 fx Exp $ ;; This file is part of GNU Emacs. @@ -1025,11 +1025,11 @@ (vc-file-setprop file 'vc-checkout-time (if unchanged lastmod 0)) unchanged)))) -(defun vc-default-workfile-unchanged-p (file) +(defun vc-default-workfile-unchanged-p (backend file) "Default check whether FILE is unchanged: diff against master version." (zerop (vc-call diff file (vc-workfile-version file)))) -(defun vc-default-latest-on-branch-p (file) +(defun vc-default-latest-on-branch-p (backend file) "Default check whether the current workfile version of FILE is the latest on its branch." t)