The question is pretty self-explanatory. When I close emacs and some changes are unsaved, I’m asked if I want to save the file and given this list of options. I assume “y” and “n” are “yes” and “no”, but what are the other options?
The question is pretty self-explanatory. When I close emacs and some changes are unsaved,
Share
Type ? and you’ll get a buffer showing:
If you want to add/change actions that happen during the
save-some-buffersfunction, then you can modify the variablesave-some-buffers-action-alist. Perhaps if you wanted to add a binding to save the changes and kill the buffer via the key k. You could do this:If you look at the documentation for
save-some-buffers, it will direct you tosave-some-buffers-action-alist– which further directs you tomap-y-or-n-p– which actually does have documentation on the format of that variable.