init: Choose temp buffer major-mode like it was from a file