Mercurial > emacs
diff lisp/vc.el @ 97245:855f5155ed05
(vc-next-action): Update list var correctly after delete.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 02 Aug 2008 21:31:41 +0000 |
parents | 3b7098612be6 |
children | c2f756ba4557 |
line wrap: on
line diff
--- a/lisp/vc.el Sat Aug 02 21:31:32 2008 +0000 +++ b/lisp/vc.el Sat Aug 02 21:31:41 2008 +0000 @@ -1085,7 +1085,7 @@ ;; 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")