[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] [PATCH] Improve fontification
From: |
Arash Esbati |
Subject: |
[AUCTeX-devel] [PATCH] Improve fontification |
Date: |
Tue, 18 Nov 2014 00:00:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 |
* style/zlmtt.el (font-latex-add-keywords): Use more consistent fontification.
* style/textcomp.el (font-latex-add-keywords): Ditto.
* style/fontaxes.el (font-latex-add-keywords): Ditto.
* style/XCharter.el (font-latex-add-keywords): Ditto.
---
Hi,
this patch makes the fontification of some commands behave in a more
consistent manner. Best, Arash
ChangeLog | 11 +++++++++++
style/XCharter.el | 4 ++--
style/fontaxes.el | 2 +-
style/textcomp.el | 2 +-
style/zlmtt.el | 2 +-
5 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index cf0acfd..e53e3df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2014-11-17 Arash Esbati <address@hidden>
+
+ * style/zlmtt.el (font-latex-add-keywords): Use more consistent
+ fontification.
+
+ * style/textcomp.el (font-latex-add-keywords): Ditto.
+
+ * style/fontaxes.el (font-latex-add-keywords): Ditto.
+
+ * style/XCharter.el (font-latex-add-keywords): Ditto.
+
2014-11-16 Mosè Giordano <address@hidden>
* Makefile.in (WEMACSDATAROOTDIR, WEMACSSITELISP): New variables.
diff --git a/style/XCharter.el b/style/XCharter.el
index 6a7653a..df88f97 100644
--- a/style/XCharter.el
+++ b/style/XCharter.el
@@ -61,11 +61,11 @@
("textlf" "{")
("textosf" "{")
("textosfI" "{"))
- 'textual)
+ 'type-command)
(font-latex-add-keywords '(("sustyle" "")
("lfstyle" "")
("osfstyle" ""))
- 'italic-declaration)))
+ 'type-declaration)))
LaTeX-dialect)
(defvar LaTeX-XCharter-package-options
diff --git a/style/fontaxes.el b/style/fontaxes.el
index 3a05a18..95dafb4 100644
--- a/style/fontaxes.el
+++ b/style/fontaxes.el
@@ -96,7 +96,7 @@
("liningfigures" "{")
("tabularfigures" "{")
("proportionalfigures" "{"))
- 'textual)
+ 'type-command)
(font-latex-add-keywords '(("textsw" "{")
("textssc" "{")
("textulc" "{"))
diff --git a/style/textcomp.el b/style/textcomp.el
index 7bbbf1f..7f9a441 100644
--- a/style/textcomp.el
+++ b/style/textcomp.el
@@ -168,7 +168,7 @@
(when (and (featurep 'font-latex)
(eq TeX-install-font-lock 'font-latex-setup))
(font-latex-add-keywords '(("oldstylenums" "{"))
- 'italic-declaration)))
+ 'type-command)))
LaTeX-dialect)
(defvar LaTeX-textcomp-package-options
diff --git a/style/zlmtt.el b/style/zlmtt.el
index 6b8bbb1..02e6204 100644
--- a/style/zlmtt.el
+++ b/style/zlmtt.el
@@ -47,7 +47,7 @@
(font-latex-add-keywords '(("proptt" "{")
("monott" "{")
("lctt" "{"))
- 'textual)))
+ 'type-command)))
LaTeX-dialect)
(defvar LaTeX-zlmtt-package-options
--
2.1.3
--
Arash Esbati
- [AUCTeX-devel] [PATCH] Improve fontification,
Arash Esbati <=