[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa eb9986d 46/51: Respect both "xcolor" and "color" for query t
From: |
Tassilo Horn |
Subject: |
[elpa] elpa eb9986d 46/51: Respect both "xcolor" and "color" for query to "shadecolor" |
Date: |
Sun, 22 May 2016 07:22:50 +0000 (UTC) |
branch: elpa
commit eb9986d4bade931e075472b15bb5889e2c970fc5
Author: Arash Esbati <address@hidden>
Commit: Mosè Giordano <address@hidden>
Respect both "xcolor" and "color" for query to "shadecolor"
* style/ntheorem.el ("ntheorem"): Respect both "xcolor" and
"color" for query to "shadecolor" command.
Signed-off-by: Mosè Giordano <address@hidden>
---
style/ntheorem.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/style/ntheorem.el b/style/ntheorem.el
index 068f40d..2cfd4f5 100644
--- a/style/ntheorem.el
+++ b/style/ntheorem.el
@@ -1,6 +1,6 @@
;;; ntheorem.el --- AUCTeX style for `ntheorem.sty' (v1.33)
-;; Copyright (C) 2015 Free Software Foundation, Inc.
+;; Copyright (C) 2015, 2016 Free Software Foundation, Inc.
;; Author: Arash Esbati <esbati'at'gmx.de>
;; Maintainer: address@hidden
@@ -289,8 +289,10 @@ make them available as new environments. Update
(TeX-arg-eval
(lambda ()
(let ((color
- (if (fboundp 'LaTeX-color-definecolor-list)
- (completing-read "color: " (LaTeX-color-definecolor-list))
+ (if (or (member "xcolor" (TeX-style-list))
+ (member "color" (TeX-style-list)))
+ (completing-read "color: " (or
(LaTeX-xcolor-definecolor-list)
+
(LaTeX-color-definecolor-list)))
(TeX-read-string "color: "))))
(format "%s" color)))))
- [elpa] elpa d418e9a 15/51: Prevent infinite loop in TeX-command-expand, (continued)
- [elpa] elpa d418e9a 15/51: Prevent infinite loop in TeX-command-expand, Tassilo Horn, 2016/05/22
- [elpa] elpa 4f9666b 24/51: Use customize option `TeX-region' instead of "_region_", Tassilo Horn, 2016/05/22
- [elpa] elpa a83c4d0 02/51: Fix compatibility with older Emacs versions, Tassilo Horn, 2016/05/22
- [elpa] elpa 13153ba 40/51: Use commit date for package date also in configure, Tassilo Horn, 2016/05/22
- [elpa] elpa 7fc63f1 39/51: Tweak mode name only when file local variable is enabled., Tassilo Horn, 2016/05/22
- [elpa] elpa 7e3bec8 44/51: Run `TeX-add-symbols' if "xcolor" is not an active style, Tassilo Horn, 2016/05/22
- [elpa] elpa f0849b4 10/51: TikZ: Add the 'sin' and 'cos' connectors., Tassilo Horn, 2016/05/22
- [elpa] elpa 7ea1aa3 18/51: TikZ: Don't allow relative points with \coordinate., Tassilo Horn, 2016/05/22
- [elpa] elpa c032063 19/51: Auto save `TeX-command-extra-options'., Tassilo Horn, 2016/05/22
- [elpa] elpa 56c1afd 28/51: Call TeX-newline-function interactively, Tassilo Horn, 2016/05/22
- [elpa] elpa eb9986d 46/51: Respect both "xcolor" and "color" for query to "shadecolor",
Tassilo Horn <=
- [elpa] elpa 40c2c26 32/51: Allow for negative offsets in region backward search, Tassilo Horn, 2016/05/22
- [elpa] elpa 9613bdd 36/51: Check TeX engine only once, Tassilo Horn, 2016/05/22
- [elpa] elpa d9910d4 21/51: Fix small errors in doc string and comment, Tassilo Horn, 2016/05/22
- [elpa] elpa 6eb95e6 14/51: Integrate viewer support between tex.el and tex-jp.el, Tassilo Horn, 2016/05/22
- [elpa] elpa e90e050 34/51: Insert braces after some macros and \relax after \ProcessOptions, Tassilo Horn, 2016/05/22
- [elpa] elpa 0a3632e 45/51: Adjust query commands for loading by xcolor.el, Tassilo Horn, 2016/05/22
- [elpa] elpa adf998c 25/51: Replace TeX-PDF-via-dvips-ps2pdf with TeX-PDF-from-DVI, Tassilo Horn, 2016/05/22
- [elpa] elpa 3e93869 43/51: Add new style/xcolor.el, Tassilo Horn, 2016/05/22
- [elpa] elpa ae6ed8b 06/51: TikZ: make `TeX-TikZ-single-macro-arg' prompt required., Tassilo Horn, 2016/05/22
- [elpa] elpa d83900b 09/51: TikZ: Make '+' and '++' prefixes apply to TikZ points, Tassilo Horn, 2016/05/22