Yakov Lerner wrote:
> Is there an autoevent for a decision what to do with
> unsaved changes when leaving the unsaved modified buffer ?
> For example, customizing such event would allow me to
> - for *.abc buffers - autowrite
> - for *.xyz buffers - ask
> - for *.pqr buffers - autowrite if leaving via commands x,y,z
> but ask if leaving via commands a,b,c
> - for *.klm buffers - autowrite with versiosning
> Does it exist, such autoevent ?
No. You could use exception handling when it happens in a script.
I'll add a note about adding an event for this, I can see it is useful.
I'm sure that I asked CBuilder to do a "full" install. Looks like I got
a "fool" install, instead. Charles E Campbell, Jr, PhD
/// Bram Moolenaar -- Bram@...
/// Creator of Vim - Vi IMproved -- http://www.Vim.org
\\\ Project leader for A-A-P -- http://www.A-A-P.org
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html