auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] Changes to auctex/style/ngerman.el,v


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/style/ngerman.el,v
Date: Mon, 30 Aug 2010 19:48:24 +0000

CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    10/08/30 19:48:24

Index: ngerman.el
===================================================================
RCS file: /cvsroot/auctex/auctex/style/ngerman.el,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- ngerman.el  5 Dec 2005 10:49:11 -0000       1.6
+++ ngerman.el  30 Aug 2010 19:48:23 -0000      1.7
@@ -37,10 +37,13 @@
        (setq TeX-quote-language
             `("ngerman" ,open-quote ,close-quote ,q-after-q))))
    (setq LaTeX-babel-hyphen-language "ngerman")
-   ;; Fontification of quotation marks.
-   (when (fboundp 'font-latex-add-quotes)
+   ;; Fontification
+   (when (and (eq TeX-install-font-lock 'font-latex-setup)
+             (featurep 'font-latex))
      (font-latex-add-quotes '("\"`" "\"'"))
-     (font-latex-add-quotes '("\">" "\"<" german)))
+     (font-latex-add-quotes '("\">" "\"<" german))
+     ;; Prevent "| from leading to color bleed.
+     (font-latex-add-to-syntax-alist (list (cons ?\" "\\"))))
    (run-hooks 'TeX-language-de-hook)))
 
 ;;; ngerman.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]