Fixing "wq" on non-commit buffers

Ok, so the key is to remember to put in the settings for the minor mode, as it
looks like the code in the body is simply executed otherwise.  Which means that
the individual buffer local can also be properly used!