]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/auctex/style/ngerman.el
Reverted commits 312, 313, and 315.
[gnu-emacs-elpa] / packages / auctex / style / ngerman.el
index 8acd2f56045782c48057e99f783a281003e9ed6e..d6b972acf357b38bd547e74e0aea2d8d32e8f2f0 100644 (file)
        (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