# HG changeset patch # User Glenn Morris # Date 1220305551 0 # Node ID c2f756ba455750a4dd701f46ca8ca348ef2863d5 # Parent 79519614703450da2b598663566f3b0175df5d3e (vc-default-previous-version): Move alias here from vc-hooks, and fix name typos. (Bug#856) diff -r 795196147034 -r c2f756ba4557 lisp/vc.el --- a/lisp/vc.el Mon Sep 01 21:45:32 2008 +0000 +++ b/lisp/vc.el Mon Sep 01 21:45:51 2008 +0000 @@ -2243,6 +2243,9 @@ (string-match "[0-9]+\\'" rev) (substring rev (match-beginning 0) (match-end 0))) +(define-obsolete-function-alias + 'vc-default-previous-version 'vc-default-previous-revision "23.1") + (defun vc-default-previous-revision (backend file rev) "Return the revision number immediately preceding REV for FILE, or nil if there is no previous revision. This default