Add switch statements to emacs output.