Mercurial > emacs
changeset 36395:20a768ca0cf8
(vc-default-workfile-unchanged-p, vc-default-latest-on-branch-p): Add
missing BACKEND argument.
author | André Spiegel <spiegel@gnu.org> |
---|---|
date | Mon, 26 Feb 2001 13:45:06 +0000 |
parents | a03841f1cfa3 |
children | 39a1016ee5bf |
files | lisp/vc.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 <spiegel@gnu.org> -;; $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)