I often open temp files and I don't care about saving the contents when I modify the buffer. How can I tell Emacs to ignore buffer changes when the filename matches a pattern, so that I don't get prompted to save the buffer when I kill it?
Edit: I am loading files from the command line, so I'd like to auto-detect this situation and configure the buffer accordingly.