GermanLaTeXQuotes

Sometimes I want to edit LaTeX files without the power of AUCTeX. Vanilla `latex-mode' only uses english quotes. Here is a small piece of code that changes the way `tex-insert-quote' (bound to ") works. When the buffer seems to be a german LaTeX file (ngerman or german is found in the options for \documentclass or \usepackage) the function will switch to german quotes. – StefanMoeding