diff options
| author | André Spiegel | 2001-01-08 16:23:33 +0000 |
|---|---|---|
| committer | André Spiegel | 2001-01-08 16:23:33 +0000 |
| commit | 38d88d32ef061813a5cd3d990d61887ab8cc87d3 (patch) | |
| tree | 035cd401d52d2e6278eca6f8fffd87d0df0cf011 | |
| parent | b7812d3050275ecd3184a4c963b58006fedfef66 (diff) | |
| download | emacs-38d88d32ef061813a5cd3d990d61887ab8cc87d3.tar.gz emacs-38d88d32ef061813a5cd3d990d61887ab8cc87d3.zip | |
(vc-default-latest-on-branch-p): New function, replaces constant
implementations in backends.
| -rw-r--r-- | lisp/vc.el | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ | |||
| 5 | ;; Author: FSF (see below for full credits) | 5 | ;; Author: FSF (see below for full credits) |
| 6 | ;; Maintainer: Andre Spiegel <spiegel@gnu.org> | 6 | ;; Maintainer: Andre Spiegel <spiegel@gnu.org> |
| 7 | 7 | ||
| 8 | ;; $Id: vc.el,v 1.290 2000/11/16 18:28:11 monnier Exp $ | 8 | ;; $Id: vc.el,v 1.292 2000/11/20 14:01:35 spiegel Exp $ |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | 11 | ||
| @@ -839,6 +839,11 @@ NOT-URGENT means it is ok to continue if the user says not to save." | |||
| 839 | "Default check whether FILE is unchanged: diff against master version." | 839 | "Default check whether FILE is unchanged: diff against master version." |
| 840 | (zerop (vc-call diff file (vc-workfile-version file)))) | 840 | (zerop (vc-call diff file (vc-workfile-version file)))) |
| 841 | 841 | ||
| 842 | (defun vc-default-latest-on-branch-p (file) | ||
| 843 | "Default check whether the current workfile version of FILE is the | ||
| 844 | latest on its branch." | ||
| 845 | t) | ||
| 846 | |||
| 842 | (defun vc-recompute-state (file) | 847 | (defun vc-recompute-state (file) |
| 843 | "Force a recomputation of the version control state of FILE. | 848 | "Force a recomputation of the version control state of FILE. |
| 844 | The state is computed using the exact, and possibly expensive | 849 | The state is computed using the exact, and possibly expensive |