Mercurial > emacs
changeset 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 | b085ed1433f5 |
children | 28f16cdc7824 |
files | lisp/vc.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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")