From 554c98c508a43a5f1668c34c924c46ee628886b2 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 2 Aug 2008 21:31:41 +0000 Subject: [PATCH] (vc-next-action): Update list var correctly after delete. --- lisp/vc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.39.2