X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/fe623377defcfb3a80ce30b2b4c8f62d9999818f..9e2de34d6c42dc54148303b334dea23e630be2ba:/packages/auctex/style/ngerman.el diff --git a/packages/auctex/style/ngerman.el b/packages/auctex/style/ngerman.el index 8acd2f560..d6b972acf 100644 --- a/packages/auctex/style/ngerman.el +++ b/packages/auctex/style/ngerman.el @@ -37,13 +37,10 @@ (setq TeX-quote-language `("ngerman" ,open-quote ,close-quote ,q-after-q)))) (setq LaTeX-babel-hyphen-language "ngerman") - ;; Fontification - (when (and (eq TeX-install-font-lock 'font-latex-setup) - (featurep 'font-latex)) + ;; Fontification of quotation marks. + (when (fboundp 'font-latex-add-quotes) (font-latex-add-quotes '("\"`" "\"'")) - (font-latex-add-quotes '("\">" "\"<" german)) - ;; Prevent "| from leading to color bleed. - (font-latex-add-to-syntax-alist (list (cons ?\" "\\")))) + (font-latex-add-quotes '("\">" "\"<" german))) (run-hooks 'TeX-language-de-hook))) ;;; ngerman.el ends here