The Mastering Emacs ebook cover art

Emacs 27 Edition is out now!

$39.99 Buy Now

Learn More

How to mark a buffer as "not modified"

You can tell Emacs to set a buffer as not modified (even though it may well be) by pressing M-~, also bound to M-x not-modified. This will obviously suppress any save prompts for that file – at least until you do something that makes it become modified again – so do be careful.

There are no comments. Why not write one?