AUCTeX has a special support for many languages, for example it can help inserting quotes. For more information see the AUCTeX manual.
If you don't like the default style of quotes inserted by AUCTeX for a specific language, you can override it customizing the TeX-quote-language-alist
variable. To do that add this to your .emacs
:
(setq TeX-quote-language-alist '(("danish" "``" "''" t)))
In this way pressing "
button twice you will get ``
or ''
according to context. Instead, if you want to insert ``
and ''
pressing "
button just once, add the following code to your .emacs
:
(add-hook 'TeX-language-dk-hook (lambda () (setq TeX-quote-language `("danish" "``" "''" ,TeX-quote-after-quote))))