From b7fd432d56e352e25e6db4eaf5b081ddc5a39367 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 1 Dec 2014 18:54:28 -0500 Subject: Remove could-register from the set of public VC backend methods, * vc/vc.el and all backends: API simplification; could-register is no longer a public method. (vc-cvs.el still has a private implementation.) --- lisp/vc/vc.el | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'lisp/vc/vc.el') diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 121e32925da..40e4211c6e4 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -227,11 +227,6 @@ ;; like change log generation. The default implementation always ;; returns nil. ;; -;; - could-register (file) -;; -;; Return non-nil if FILE could be registered under this backend. The -;; default implementation always returns t. -;; ;; - receive-file (file rev) ;; ;; Let this backend "receive" a file that is already registered under @@ -612,6 +607,7 @@ ;; call to it. A few older back ends retain versions for internal use in ;; their vc-state functions. ;; +;; could-register is no longer a public method. Only vc-cvs ever used it ;;; Todo: @@ -2824,11 +2820,6 @@ log entries should be gathered." The default is to return nil always." nil) -(defun vc-default-could-register (_backend _file) - "Return non-nil if BACKEND could be used to register FILE. -The default implementation returns t for all files." - t) - (defun vc-default-latest-on-branch-p (_backend _file) "Return non-nil if FILE is the latest on its branch. This default implementation always returns non-nil, which means that -- cgit v1.2.1