Re: [patch] Loading a session always sets v:errmsg

2019-01-21 Fir de Conversatie Bram Moolenaar
Jason Franklin wrote: > I've discovered a few minor problems with session generation, and > I thought I'd send in a few patches to fix them. This is the first > one of a handful. > > Reproduce: > > 1. vim --clean > 2. :mks! > 3. :echo v:errmsg > 4. :so Session.vim > 5. :echo v:errmsg > > See

[patch] Loading a session always sets v:errmsg

2019-01-20 Fir de Conversatie Jason Franklin
I've discovered a few minor problems with session generation, and I thought I'd send in a few patches to fix them. This is the first one of a handful. Reproduce: 1. vim --clean 2. :mks! 3. :echo v:errmsg 4. :so Session.vim 5. :echo v:errmsg See that the error message E480 is set. We can test t