Next: , Previous: , Up: Creating and Killing Buffers   [Index]


7.4.8.8 buffer-offer-save—a buffer-local user-option

Variable: buffer-offer-save

If non-’nil’, tells save-buffers-kill-emacs to offer to save that buffer.

If save-some-buffers is called with its second optional argument set to t, it will also offer to save the buffer.

If set to the symbol ‘always’, both save-buffers-kill-emacs and save-some-buffers will always offer to save.