auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 581002f508fc49bd7c290


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 581002f508fc49bd7c290d4fd3c4dec543d6ab9c
Date: Tue, 25 Apr 2017 05:39:39 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  581002f508fc49bd7c290d4fd3c4dec543d6ab9c (commit)
      from  cf6480c52138e989d18734f61395bc61e0178932 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 581002f508fc49bd7c290d4fd3c4dec543d6ab9c
Author: Arash Esbati <address@hidden>
Date:   Tue Apr 25 11:38:44 2017 +0200

    Add LaTeX core command \oldstylenums
    
    * font-latex.el (font-latex-built-in-keyword-classes): Add
    \oldstylenums to "type-command" keyword class.
    
    * latex.el (LaTeX-common-initialization): Add \oldstylenums to
    LaTeX core commands.
    
    * style/textcomp.el ("textcomp"): Remove \oldstylenums from
    textcomp.el which is provided by LaTeX core.

diff --git a/font-latex.el b/font-latex.el
index 83e2115..4b687af 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -400,7 +400,7 @@ variable `font-latex-fontify-sectioning'." ',num)
      (("ensuremath" "|{\\"))
      font-latex-math-face 1 command)
     ("type-command"
-     (("texttt" "{") ("textsf" "{") ("textrm" "{") ("textmd" "{"))
+     (("texttt" "{") ("textsf" "{") ("textrm" "{") ("textmd" "{") 
("oldstylenums" "{"))
      font-lock-type-face 1 command)
     ("bold-declaration"
      ("bf" "bfseries" "sc" "scshape" "upshape")
diff --git a/latex.el b/latex.el
index fa87c98..4613d36 100644
--- a/latex.el
+++ b/latex.el
@@ -6429,6 +6429,7 @@ function would return non-nil and `(match-string 1)' 
would return
    '("tiny" -1) '("scriptsize" -1) '("footnotesize" -1) '("small" -1)
    '("normalsize" -1) '("large" -1) '("Large" -1) '("LARGE" -1) '("huge" -1)
    '("Huge" -1)
+   '("oldstylenums" "Numbers")
    "pounds" "copyright"
    "hfil" "hfill" "vfil" "vfill" "hrulefill" "dotfill"
    "indent" "noindent" "today"
diff --git a/style/textcomp.el b/style/textcomp.el
index 8a6df9b..3f0feb0 100644
--- a/style/textcomp.el
+++ b/style/textcomp.el
@@ -1,6 +1,6 @@
 ;;; textcomp.el --- AUCTeX style for `textcomp.sty' (v1.99g)
 
-;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2014, 2017 Free Software Foundation, Inc.
 
 ;; Author: Arash Esbati <address@hidden>
 ;; Maintainer: address@hidden
@@ -161,14 +161,7 @@
     '("textdiv"                  0)     ; Type: Symbol -- Slot: 246
     '("textcircled"              1)     ; Type: Command -- Slot: N/A
     '("capitalcedilla"           1)     ; Type: Command -- Slot: N/A
-    '("capitalogonek"            1)     ; Type: Command -- Slot: N/A
-    '("oldstylenums" "Numbers"    ))    ; Type: Command -- Slot: N/A
-
-   ;; Fontification
-   (when (and (featurep 'font-latex)
-              (eq TeX-install-font-lock 'font-latex-setup))
-     (font-latex-add-keywords '(("oldstylenums"  "{"))
-                              'type-command)))
+    '("capitalogonek"            1)))   ; Type: Command -- Slot: N/A
  LaTeX-dialect)
 
 (defvar LaTeX-textcomp-package-options

-----------------------------------------------------------------------

Summary of changes:
 font-latex.el     |  2 +-
 latex.el          |  1 +
 style/textcomp.el | 11 ++---------
 3 files changed, 4 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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