]> git.eshelyaron.com Git - emacs.git/commit
Fix bugs in vc-dir-mark-unmark and vc-dir-mark-all-files.
authorChong Yidong <cyd@gnu.org>
Mon, 19 Dec 2011 07:00:16 +0000 (15:00 +0800)
committerChong Yidong <cyd@gnu.org>
Mon, 19 Dec 2011 07:00:16 +0000 (15:00 +0800)
commita6198c9097703c4ad2a686ecb1ade1af8cd52112
tree59883cf56b6ffa303da3e822931fa92c4d6725e0
parent34c5fb55c88617ae0b0721d653d833bc73a4e623
Fix bugs in vc-dir-mark-unmark and vc-dir-mark-all-files.

* lisp/vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
Don't signal an error in a predicate function; return non-nil.
(vc-dir-mark-file): Move the error here.
(vc-dir-mark-unmark): If acting on the region, keep going if one
of the entries cannot be marked/unmarked.
(vc-dir-mark-all-files): If current entry is a directory, mark
only child files, as documented.
lisp/ChangeLog
lisp/vc/vc-dir.el