[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 80d2a08 10/36: Min fix to kpfonts
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 80d2a08 10/36: Min fix to kpfonts package |
Date: |
Thu, 22 Dec 2016 13:08:11 +0000 (UTC) |
branch: externals/auctex
commit 80d2a087963676fd98683ab04dfd685e5b91ff81
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Min fix to kpfonts package
* style/kpfonts.el ("kpfonts"): Move setting of `TeX-font-list' inside
the hook.
---
style/kpfonts.el | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/style/kpfonts.el b/style/kpfonts.el
index 026c81f..78bc9ab 100644
--- a/style/kpfonts.el
+++ b/style/kpfonts.el
@@ -515,19 +515,6 @@ following commands are defined:
(LaTeX-kpfonts-mode))
;;; Kpfonts Minor Mode ends here
-;; New fonts by `kpfonts'.
-(setq TeX-font-list
- (append
- TeX-font-list
- '(;; Math fonts
- (?\C-h "" "" "\mathup{" "}")
- (?\C-k "" "" "\mathfrak{" "}")
- (?\C-p "" "" "\mathscr{" "}")
- ;; Text fonts
- (?\C-l "\textscsl{" "}")
- (?\C-o "\textothersc{" "}")
- (?\C-q "\textotherscsl{" "}"))))
-
(TeX-add-style-hook
"kpfonts"
(lambda ()
@@ -554,6 +541,19 @@ following commands are defined:
'("wideparen" 1)
'("widering" 1))
+ ;; New fonts by `kpfonts'.
+ (setq TeX-font-list
+ (append
+ TeX-font-list
+ '(;; Math fonts
+ (?\C-h "" "" "\mathup{" "}")
+ (?\C-k "" "" "\mathfrak{" "}")
+ (?\C-p "" "" "\mathscr{" "}")
+ ;; Text fonts
+ (?\C-l "\textscsl{" "}")
+ (?\C-o "\textothersc{" "}")
+ (?\C-q "\textotherscsl{" "}"))))
+
;; Fontification
(when (and (featurep 'font-latex)
(eq TeX-install-font-lock 'font-latex-setup))
- [AUCTeX-diffs] [elpa] externals/auctex updated (1b5875c -> 2e7ca50), Tassilo Horn, 2016/12/22
- [AUCTeX-diffs] [elpa] externals/auctex 80d2a08 10/36: Min fix to kpfonts package,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex 29ae5fb 15/36: Add \LTXtable to list of file-loading commands, Tassilo Horn, 2016/12/22
- [AUCTeX-diffs] [elpa] externals/auctex eb748ea 18/36: Fix query for defined colors in style/ntheorem.el, Tassilo Horn, 2016/12/22
- [AUCTeX-diffs] [elpa] externals/auctex 7518a8a 31/36: Mention that arguments to *-operator must be in braces, Tassilo Horn, 2016/12/22
- [AUCTeX-diffs] [elpa] externals/auctex e4aba95 21/36: Support RefTeX with `reftex-add-label-environments' in style/mathtools.el, Tassilo Horn, 2016/12/22
- [AUCTeX-diffs] [elpa] externals/auctex 66ed2ac 30/36: Add test for new column counting code, Tassilo Horn, 2016/12/22
- [AUCTeX-diffs] [elpa] externals/auctex f04e5f7 09/36: Add style file for amsfonts package, Tassilo Horn, 2016/12/22
- [AUCTeX-diffs] [elpa] externals/auctex 1aa46c3 23/36: ; Use third argument of `TeX-argument-insert', Tassilo Horn, 2016/12/22
- [AUCTeX-diffs] [elpa] externals/auctex 40da84e 20/36: Support RefTeX with `reftex-add-label-environments' in style/empheq.el, Tassilo Horn, 2016/12/22
- [AUCTeX-diffs] [elpa] externals/auctex d6890e8 04/36: Improve caption and label insertion in style/subcaption.el, Tassilo Horn, 2016/12/22
- [AUCTeX-diffs] [elpa] externals/auctex b44d524 35/36: Uniform font-lock updates/don't break prettify (bug#25245), Tassilo Horn, 2016/12/22