summaryrefslogtreecommitdiff
path: root/lisp/vc/vc.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-12-01 18:54:28 -0500
committerEric S. Raymond <esr@thyrsus.com>2014-12-01 18:54:28 -0500
commitb7fd432d56e352e25e6db4eaf5b081ddc5a39367 (patch)
tree21144cae16931e5f390459e7e64ba9a8eb22994b /lisp/vc/vc.el
parentd788058c50783f6be19a578f5968d6eec129af0a (diff)
downloademacs-b7fd432d56e352e25e6db4eaf5b081ddc5a39367.tar.gz
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.)
Diffstat (limited to 'lisp/vc/vc.el')
-rw-r--r--lisp/vc/vc.el11
1 files changed, 1 insertions, 10 deletions
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