diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-12-02 08:01:46 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-12-02 08:01:46 -0500 |
commit | d4767877aca091ee1a04608e2b50b346745661d4 (patch) | |
tree | 189170facf63e6c9b640cdd1cb657a2afe880ad5 /lisp/vc/vc-cvs.el | |
parent | e6fe301afe4bbc707d2fde44a5250b84418d2b1b (diff) | |
download | emacs-d4767877aca091ee1a04608e2b50b346745661d4.tar.gz |
Eliminate an unuted function argument.
* vc.el, all backends: API simplification: Remove 4th 'default-state'
argument from vc-dir-status files and its backend methods - no backend
method ever set it. It was used only in the fallback method to to set
a default of 'up-to-date, though a convoluted call chain obscured
this.
Diffstat (limited to 'lisp/vc/vc-cvs.el')
-rw-r--r-- | lisp/vc/vc-cvs.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-cvs.el b/lisp/vc/vc-cvs.el index 41c53261464..b07a05c6586 100644 --- a/lisp/vc/vc-cvs.el +++ b/lisp/vc/vc-cvs.el @@ -1084,7 +1084,7 @@ state." (vc-run-delayed (vc-cvs-after-dir-status update-function))))) -(defun vc-cvs-dir-status-files (dir files _default-state update-function) +(defun vc-cvs-dir-status-files (dir files update-function) "Create a list of conses (file . state) for DIR." (apply 'vc-cvs-command (current-buffer) 'async dir "-f" "status" files) (vc-run-delayed |