diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-12-01 08:24:27 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-12-01 08:24:27 -0500 |
commit | f82f3f1f177c1a9cc2c2236f51acd1be1809ae1f (patch) | |
tree | 76163b25a84c8416f7f529b9331778020cb7dc8b /lisp/vc/vc-mtn.el | |
parent | 2532d74a5fb5168955aa900f597bf7efc14efb12 (diff) | |
download | emacs-f82f3f1f177c1a9cc2c2236f51acd1be1809ae1f.tar.gz |
API simplification: remove vc-workfile-unchanged-p from pubic methods.
* vc/vc.el, vc-hooks.el, and all backends: API simplification;
vc-workfile-unchanged-p is no longer a public method (but the RCS and
SCCS back ends retain it as a private method used in state
computation). This method was redundant with vc-state and usually
implemented as a trivial call to same. Fixes the failure mode
described in bug#694.
Diffstat (limited to 'lisp/vc/vc-mtn.el')
-rw-r--r-- | lisp/vc/vc-mtn.el | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/vc/vc-mtn.el b/lisp/vc/vc-mtn.el index f12ca0fd581..b32a1db744d 100644 --- a/lisp/vc/vc-mtn.el +++ b/lisp/vc/vc-mtn.el @@ -154,9 +154,6 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches." (re-search-forward "\\(?:Current b\\|B\\)ranch: *\\(.*\\)\n?\nChanges against parent \\(.*\\)") (match-string 1)))) -(defun vc-mtn-workfile-unchanged-p (file) - (not (eq (vc-mtn-state file) 'edited))) - ;; Mode-line rewrite code copied from vc-arch.el. (defcustom vc-mtn-mode-line-rewrite |