Mercurial > emacs
changeset 97936:c2f756ba4557
(vc-default-previous-version): Move alias here from vc-hooks, and fix
name typos. (Bug#856)
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Mon, 01 Sep 2008 21:45:51 +0000 |
parents | 795196147034 |
children | d98c9de7b8b2 |
files | lisp/vc.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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