[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa dfe0937 12/35: Reset `LaTeX-auto-xcolor-definecolorset' befo
From: |
Tassilo Horn |
Subject: |
[elpa] elpa dfe0937 12/35: Reset `LaTeX-auto-xcolor-definecolorset' before parsing |
Date: |
Thu, 1 Sep 2016 15:57:49 +0000 (UTC) |
branch: elpa
commit dfe0937b31d43d7bffdfce6274b4074299d99503
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
Reset `LaTeX-auto-xcolor-definecolorset' before parsing
* style/xcolor.el (LaTeX-xcolor-auto-prepare): Reset
`LaTeX-auto-xcolor-definecolorset' before parsing.
Improve comments.
---
style/xcolor.el | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
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")
- [elpa] elpa e45c6d9 18/35: Add new style/commath.el, (continued)
- [elpa] elpa e45c6d9 18/35: Add new style/commath.el, Tassilo Horn, 2016/09/01
- [elpa] elpa 29d4cb4 05/35: Document TeX-raise-frame-function, Tassilo Horn, 2016/09/01
- [elpa] elpa 25bdcb2 31/35: Add new style/framed.el, Tassilo Horn, 2016/09/01
- [elpa] elpa 5745c81 02/35: Fix compatibility with GNU Emacs < 24, Tassilo Horn, 2016/09/01
- [elpa] elpa c1a2b33 10/35: ; Add missing space in prompt, Tassilo Horn, 2016/09/01
- [elpa] elpa 7f91fb9 06/35: More about TeX-raise-frame-function, Tassilo Horn, 2016/09/01
- [elpa] elpa 97c992d 09/35: Catch up with deletion of \commondummies in texinfo.tex, Tassilo Horn, 2016/09/01
- [elpa] elpa 4f15be6 15/35: ; Remove wrong entries for varioref.sty, Tassilo Horn, 2016/09/01
- [elpa] elpa 7828a43 16/35: ; Remove wrong entries for cleveref.sty, Tassilo Horn, 2016/09/01
- [elpa] elpa bb9f427 01/35: Grab focus on Evince inverse search, Tassilo Horn, 2016/09/01
- [elpa] elpa dfe0937 12/35: Reset `LaTeX-auto-xcolor-definecolorset' before parsing,
Tassilo Horn <=
- [elpa] elpa 8c57d38 11/35: Fix doc string for curve quoting style in Emacs 25, Tassilo Horn, 2016/09/01
- [elpa] elpa e259e40 26/35: Add a Japanese error message translation, Tassilo Horn, 2016/09/01
- [elpa] elpa ce347e6 03/35: Document how to disable filling for specific environments, Tassilo Horn, 2016/09/01
- [elpa] elpa b2ebbb3 29/35: Use `TeX-ispell-skip-setcdr' on user defined listing environments, Tassilo Horn, 2016/09/01
- [elpa] elpa 22f9450 30/35: Use `TeX-ispell-skip-setcar' on user defined index macros, Tassilo Horn, 2016/09/01
- [elpa] elpa 131c537 14/35: Document interaction with Ispell, Tassilo Horn, 2016/09/01
- [elpa] elpa ba10cf0 04/35: New defcustom TeX-raise-frame-function, Tassilo Horn, 2016/09/01
- [elpa] elpa 40b3518 13/35: Add new spell checking dictionary tex-ispell.el, Tassilo Horn, 2016/09/01
- [elpa] elpa d0e8c1c 32/35: Add new style/paracol.el, Tassilo Horn, 2016/09/01
- [elpa] elpa fcb6424 27/35: Revise document for Japanese TeX, Tassilo Horn, 2016/09/01