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. dfe0937b31d43d7bffdfc


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. dfe0937b31d43d7bffdfce6274b4074299d99503
Date: Fri, 8 Jul 2016 07:18:32 +0000 (UTC)

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  dfe0937b31d43d7bffdfce6274b4074299d99503 (commit)
       via  8c57d38e1149f7adbc69ad7996588ce70d2f0f2b (commit)
      from  c1a2b332b1f47598d2e158b8fcfe8a2824411bd7 (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 dfe0937b31d43d7bffdfce6274b4074299d99503
Author: Arash Esbati <address@hidden>
Date:   Fri Jul 8 09:17:45 2016 +0200

    Reset `LaTeX-auto-xcolor-definecolorset' before parsing
    
    * style/xcolor.el (LaTeX-xcolor-auto-prepare): Reset
    `LaTeX-auto-xcolor-definecolorset' before parsing.
    Improve comments.

diff --git a/style/xcolor.el b/style/xcolor.el
index 2466b12..8ac0bad 100644
--- a/style/xcolor.el
+++ b/style/xcolor.el
@@ -34,13 +34,13 @@
 ;; commands take more arguments.  In order to make the commands and
 ;; font-locking work correctly, we follow this strategy: If
 ;; `xcolor.sty' is loaded after `color.sty', everything works fine.
-;; For the way around, we guard the definitions in `color.sty' with:
+;; For the way around, we guard the definitions for `color.sty' with:
 ;;
-;;     (unless (member "xcolor" (TeX-TeX-style-list))
-;;       (<define stuff from color.sty<))
+;;     (unless (member "xcolor" (TeX-style-list))
+;;       (<define stuff for color.sty>))
 ;;
-;; to make sure that we define stuff `color.sty' only if `xcolor.sty'
-;; is not already loaded.
+;; to make sure that we define stuff for `color.sty' only if AUCTeX
+;; style for `xcolor.sty' is not already loaded.
 
 ;;; Code:
 
@@ -255,7 +255,8 @@ xcolor package.")
 
 (defun LaTeX-xcolor-auto-prepare ()
   "Clear `LaTeX-auto-xcolor-definecolor' before parsing."
-  (setq        LaTeX-auto-xcolor-definecolor nil))
+  (setq LaTeX-auto-xcolor-definecolor nil
+       LaTeX-auto-xcolor-definecolorset nil))
 
 (defun LaTeX-xcolor-auto-cleanup ()
   "Process the parsed elements from `LaTeX-auto-xcolor-definecolorset'."
@@ -504,7 +505,7 @@ xcolor.sty."
                    (LaTeX-xcolor-definecolor-list))
       (TeX-arg-define-macro "Command: \\"))
 
-    ;; \extractcolorspecs{<color>}{<model-cmd>{<color-cmd>}
+    ;; \extractcolorspecs{<color>}{<model-cmd>}{<color-cmd>}
     '("extractcolorspecs"
       (TeX-arg-eval completing-read
                    (TeX-argument-prompt optional nil "Color")

commit 8c57d38e1149f7adbc69ad7996588ce70d2f0f2b
Author: Arash Esbati <address@hidden>
Date:   Fri Jul 8 09:13:06 2016 +0200

    Fix doc string for curve quoting style in Emacs 25
    
    * style/theorem.el (LaTeX-theorem-env-label):
    * style/ntheorem.el (LaTeX-ntheorem-env-label):
    * style/amsthm.el (LaTeX-amsthm-env-label): Fix doc string for new
    text quoting style in Emacs 25.

diff --git a/style/amsthm.el b/style/amsthm.el
index 5deb9e3..fee2843 100644
--- a/style/amsthm.el
+++ b/style/amsthm.el
@@ -73,14 +73,14 @@ argument.  Use PROMPT as the prompt string."
 for label.  AUCTeX users should add ENVIRONMENT to
 `LaTeX-label-alist' via customize or in init-file with:
 
-  (add-to-list 'LaTeX-label-alist '(\"lemma\" . \"lem:\"))
+  (add-to-list \\='LaTeX-label-alist \\='(\"lemma\" . \"lem:\"))
 
 RefTeX users should customize or add ENVIRONMENT to
 `LaTeX-label-alist' and `reftex-label-alist', e.g.
 
-  (add-to-list 'LaTeX-label-alist '(\"lemma\" . \"lem:\"))
-  (add-to-list 'reftex-label-alist
-              '(\"lemma\" ?m \"lem:\" \"~\\ref{%s}\"
+  (add-to-list \\='LaTeX-label-alist \\='(\"lemma\" . \"lem:\"))
+  (add-to-list \\='reftex-label-alist
+              \\='(\"lemma\" ?m \"lem:\" \"~\\ref{%s}\"
                 nil (\"Lemma\" \"lemma\") nil))"
   (let ((opthead (TeX-read-string
                  (TeX-argument-prompt t nil "Heading"))))
diff --git a/style/ntheorem.el b/style/ntheorem.el
index 2cfd4f5..b7c22ea 100644
--- a/style/ntheorem.el
+++ b/style/ntheorem.el
@@ -82,14 +82,14 @@ argument.  Use PROMPT as the prompt string."
 for label.  AUCTeX users should add ENVIRONMENT to
 `LaTeX-label-alist' via customize or in init-file with:
 
-  (add-to-list 'LaTeX-label-alist '(\"lemma\" . \"lem:\"))
+  (add-to-list \\='LaTeX-label-alist \\='(\"lemma\" . \"lem:\"))
 
 RefTeX users should customize or add ENVIRONMENT to
 `LaTeX-label-alist' and `reftex-label-alist', e.g.
 
-  (add-to-list 'LaTeX-label-alist '(\"lemma\" . \"lem:\"))
-  (add-to-list 'reftex-label-alist
-              '(\"lemma\" ?m \"lem:\" \"~\\ref{%s}\"
+  (add-to-list \\='LaTeX-label-alist \\='(\"lemma\" . \"lem:\"))
+  (add-to-list \\='reftex-label-alist
+              \\='(\"lemma\" ?m \"lem:\" \"~\\ref{%s}\"
                 nil (\"Lemma\" \"lemma\") nil))"
   (let ((opthead (TeX-read-string
                  (TeX-argument-prompt t nil "Heading"))))
diff --git a/style/theorem.el b/style/theorem.el
index 8b4101e..49e55e6 100644
--- a/style/theorem.el
+++ b/style/theorem.el
@@ -75,14 +75,14 @@ argument.  Use PROMPT as the prompt string."
 for label.  AUCTeX users should add ENVIRONMENT to
 `LaTeX-label-alist' via customize or in init-file with:
 
-  (add-to-list 'LaTeX-label-alist '(\"lemma\" . \"lem:\"))
+  (add-to-list \\='LaTeX-label-alist \\='(\"lemma\" . \"lem:\"))
 
 RefTeX users should customize or add ENVIRONMENT to
 `LaTeX-label-alist' and `reftex-label-alist', e.g.
 
-  (add-to-list 'LaTeX-label-alist '(\"lemma\" . \"lem:\"))
-  (add-to-list 'reftex-label-alist
-              '(\"lemma\" ?m \"lem:\" \"~\\ref{%s}\"
+  (add-to-list \\='LaTeX-label-alist \\='(\"lemma\" . \"lem:\"))
+  (add-to-list \\='reftex-label-alist
+              \\='(\"lemma\" ?m \"lem:\" \"~\\ref{%s}\"
                 nil (\"Lemma\" \"lemma\") nil))"
   (let ((opthead (TeX-read-string
                  (TeX-argument-prompt t nil "Heading"))))

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

Summary of changes:
 style/amsthm.el   |    8 ++++----
 style/ntheorem.el |    8 ++++----
 style/theorem.el  |    8 ++++----
 style/xcolor.el   |   15 ++++++++-------
 4 files changed, 20 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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