From 38d88d32ef061813a5cd3d990d61887ab8cc87d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Spiegel?= Date: Mon, 8 Jan 2001 16:23:33 +0000 Subject: [PATCH] (vc-default-latest-on-branch-p): New function, replaces constant implementations in backends. --- lisp/vc.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/vc.el b/lisp/vc.el index f77ebb1dc1d..be57709bfd7 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -5,7 +5,7 @@ ;; Author: FSF (see below for full credits) ;; Maintainer: Andre Spiegel -;; $Id: vc.el,v 1.290 2000/11/16 18:28:11 monnier Exp $ +;; $Id: vc.el,v 1.292 2000/11/20 14:01:35 spiegel Exp $ ;; This file is part of GNU Emacs. @@ -839,6 +839,11 @@ NOT-URGENT means it is ok to continue if the user says not to save." "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) + "Default check whether the current workfile version of FILE is the +latest on its branch." + t) + (defun vc-recompute-state (file) "Force a recomputation of the version control state of FILE. The state is computed using the exact, and possibly expensive -- 2.39.2