[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/style/units.el,v
From: |
Ralf Angeli |
Subject: |
[AUCTeX-diffs] Changes to auctex/style/units.el,v |
Date: |
Sun, 19 Aug 2007 20:23:58 +0000 |
CVSROOT: /cvsroot/auctex
Module name: auctex
Changes by: Ralf Angeli <angeli> 07/08/19 20:23:58
Index: units.el
===================================================================
RCS file: /cvsroot/auctex/auctex/style/units.el,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- units.el 25 May 2006 07:50:56 -0000 1.5
+++ units.el 19 Aug 2007 20:23:58 -0000 1.6
@@ -38,12 +38,10 @@
;; units.sty requires the package nicefrac.sty, thus we enable the
;; macros of nicefrac.sty, too
(TeX-run-style-hooks "nicefrac")
- ;; enable fontifying
+ ;; Fontification
(when (and (featurep 'font-latex)
(eq TeX-install-font-lock 'font-latex-setup))
- (add-to-list 'font-latex-match-textual-keywords-local "unit")
- (add-to-list 'font-latex-match-textual-keywords-local "unitfrac")
- (font-latex-match-textual-make))))
+ (font-latex-add-keywords '(("unit" "[{") ("unitfrac" "[{{")) 'textual))))
(defvar LaTeX-units-package-options '("tight" "loose")
"Package options for the units package.")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] Changes to auctex/style/units.el,v,
Ralf Angeli <=