auctex-diffs
[Top][All Lists]
Advanced

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

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


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

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

Index: german.el
===================================================================
RCS file: /cvsroot/auctex/auctex/style/german.el,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- german.el   5 Dec 2005 10:49:11 -0000       1.13
+++ german.el   30 Aug 2010 19:48:33 -0000      1.14
@@ -38,9 +38,12 @@
             `("german" ,open-quote ,close-quote ,q-after-q))))
    (setq LaTeX-babel-hyphen-language "german")
    ;; Fontification of quotation marks.
-   (when (fboundp 'font-latex-add-quotes)
+   (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)))
 
 ;;; german.el ends here



reply via email to

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