In the jekyll package I am currently adding support for drafts which has the need for a file to be moved around. As an example I would need to move
/jekyll/site/_posts/2015-02-12-post-title.markdown as well as updating the date in the front matter.
I’ve got this bit working fine and you are presented with the new file but the old file is still open and when you close it Atom (correctly) warns you that your buffer is different to the file and asks if you want to save it.
Is there a way to close the currently open (or specified file) preferably in a way where atom would warn about things not beign saved etc…