From: Chong Yidong Date: Sat, 2 Aug 2008 21:31:41 +0000 (+0000) Subject: (vc-next-action): Update list var correctly after delete. X-Git-Tag: emacs-pretest-23.0.90~3682 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=554c98c508a43a5f1668c34c924c46ee628886b2;p=emacs.git (vc-next-action): Update list var correctly after delete. --- diff --git a/lisp/vc.el b/lisp/vc.el index 315217c7538..8d882e03a0f 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -1085,7 +1085,7 @@ merge in the changes into your working copy." ;; finishing the log entry and committing. (not (and visited (buffer-modified-p)))) (vc-revert-file file) - (delete file ready-for-commit))))) + (setq ready-for-commit (delete file ready-for-commit)))))) ;; Remaining files need to be committed (if (not ready-for-commit) (message "No files remain to be committed")