]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-next-action): Update list var correctly after delete.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 2 Aug 2008 21:31:41 +0000 (21:31 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 2 Aug 2008 21:31:41 +0000 (21:31 +0000)
lisp/vc.el

index 315217c7538095b9b87fd78df4a8afd0065e69c8..8d882e03a0f8fcaef3fc1009542f836468383cce 100644 (file)
@@ -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")