fixed setlocal upon loading/creating buffer

The setlocal command wasn't actually be called, so
that, among other problems, buftype was not being
set to 'nofile' so it always wanted to save the buffer
before closing it.