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. 58bd866ebc92b34f1fe6f


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 58bd866ebc92b34f1fe6f1129beece6bb091d7b3
Date: Thu, 20 Nov 2014 20:37:48 +0000

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  58bd866ebc92b34f1fe6f1129beece6bb091d7b3 (commit)
       via  20c7209e8ab6ef1baf31ed267c0d3d8211b41969 (commit)
      from  0cb3759d548be9b52cf53295ab5d10f7bf7d2c92 (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 58bd866ebc92b34f1fe6f1129beece6bb091d7b3
Author: Mosè Giordano <address@hidden>
Date:   Thu Nov 20 21:36:00 2014 +0100

    Fix indentation in LaTeX-env-figure in a corner case.
    
    * latex.el (LaTeX-env-figure): Fix indentation when there is the
    \centering macro and no caption is inserted.

diff --git a/ChangeLog b/ChangeLog
index 8c8aa7b..d83ac0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-11-20  Mosè Giordano  <address@hidden>
 
+       * latex.el (LaTeX-env-figure): Fix indentation when there is the
+       \centering macro and no caption is inserted.
+
        * style/fontspec.el ("fontspec"): Fix fontification of
        "newfontfamily" and "newfontface".
 
diff --git a/latex.el b/latex.el
index 7dfbb01..9e33885 100644
--- a/latex.el
+++ b/latex.el
@@ -1004,7 +1004,8 @@ transfer the job to this function."
     (when center
       (insert TeX-esc "centering")
       (indent-according-to-mode)
-      (LaTeX-newline))
+      (LaTeX-newline)
+      (indent-according-to-mode))
     ;; Insert caption and ask for a label, do nothing if user skips caption
     (unless (zerop (length caption))
       (if (member environment LaTeX-top-caption-list)

commit 20c7209e8ab6ef1baf31ed267c0d3d8211b41969
Author: Mosè Giordano <address@hidden>
Date:   Thu Nov 20 21:33:11 2014 +0100

    Fix fontification of a couple of fontspec macros.
    
    * style/fontspec.el ("fontspec"): Fix fontification of
    "newfontfamily" and "newfontface".

diff --git a/ChangeLog b/ChangeLog
index 7321d9f..8c8aa7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-20  Mosè Giordano  <address@hidden>
+
+       * style/fontspec.el ("fontspec"): Fix fontification of
+       "newfontfamily" and "newfontface".
+
 2014-11-19  Tassilo Horn  <address@hidden>
 
        * tex.el (TeX-source-correlate-sync-source): Make backward/inverse
diff --git a/style/fontspec.el b/style/fontspec.el
index c483d0a..144b976 100644
--- a/style/fontspec.el
+++ b/style/fontspec.el
@@ -213,8 +213,8 @@ to retrieve the list of fonts."
                                ("setmainfont" "[{")
                                ("setsansfont" "[{")
                                ("setmonofont" "[{")
-                               ("newfontfamily" "{[{")
-                               ("newfontface" "{[{")
+                               ("newfontfamily" "\\[{")
+                               ("newfontface" "\\[{")
                                ("setmathrm" "[{")
                                ("setmathsf" "[{")
                                ("setmathtt" "[{")

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

Summary of changes:
 ChangeLog         |    8 ++++++++
 latex.el          |    3 ++-
 style/fontspec.el |    4 ++--
 3 files changed, 12 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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