Have buffers set major mode correctly