vm-quit-no-change leaves behind an auto-save file
Bug #502683 reported by
Uday Reddy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VM |
Fix Released
|
Low
|
Uday Reddy |
Bug Description
The command vm-quit-no-change (normally bound to 'x') is leaving behind an auto-save file. I would expect that one would normally use this command if one wants to lose the changes made to a folder. So, having a copy of these changes on the disk is probably of no point.
So, I am considering changing the vm-quit-no-change command to destroy the auto-save file. I will also add a variable vm-preserve-
Related branches
Changed in vm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This could be a bug in Emacs. delete- auto-save- file-if- necessary is not doing its job. The C function recent-auto-save-p is returning nil. However, the C function kill-buffer gets rid of the auto-save file any way. Strange!