[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex eb748ea 18/36: Fix query for defined colors in s
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex eb748ea 18/36: Fix query for defined colors in style/ntheorem.el |
Date: |
Thu, 22 Dec 2016 13:08:12 +0000 (UTC) |
branch: externals/auctex
commit eb748ea03793a87e752717b0a35840e4fdb8a817
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
Fix query for defined colors in style/ntheorem.el
* style/ntheorem.el ("ntheorem"): Use `cond' to check which color
defining package is loaded and use the respective function for
`completing-read'.
---
style/ntheorem.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/style/ntheorem.el b/style/ntheorem.el
index b7c22ea..5ce4803 100644
--- a/style/ntheorem.el
+++ b/style/ntheorem.el
@@ -288,12 +288,12 @@ make them available as new environments. Update
'("shadecolor"
(TeX-arg-eval
(lambda ()
- (let ((color
- (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: "))))
+ (let ((color (cond ((member "xcolor" (TeX-style-list))
+ (completing-read "Color name: "
(LaTeX-xcolor-definecolor-list)))
+ ((member "color" (TeX-style-list))
+ (completing-read "Color name: "
(LaTeX-color-definecolor-list)))
+ (t
+ (TeX-read-string "Color name: ")))))
(format "%s" color)))))
'("theoremframepreskip"
- [elpa] externals/auctex updated (1b5875c -> 2e7ca50), Tassilo Horn, 2016/12/22
- [elpa] externals/auctex b59075b 06/36: Do not insert a new line if \label is omitted, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex cb6bc11 07/36: Add support for style/bicaption.el to style/caption.el, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex c5d1d02 13/36: Append entry to `LaTeX-label-alist' for new "verbatim" floats, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex c265fc9 02/36: Add new style/FiraMono.el, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex 2f75f51 17/36: Add support for LaTeX core command \textsubscript, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex 6ec185e 16/36: Do not spell-check arguments of \LTXtable, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex 94db238 05/36: Improve caption and label insertion in style/caption.el, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex eb748ea 18/36: Fix query for defined colors in style/ntheorem.el,
Tassilo Horn <=
- [elpa] externals/auctex 8a14439 11/36: Add style file for subfiles package., Tassilo Horn, 2016/12/22
- [elpa] externals/auctex d6890e8 04/36: Improve caption and label insertion in style/subcaption.el, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex 42dd1f1 22/36: Support RefTeX with `reftex-add-index-macros' in style/splitidx.el, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex 945035c 24/36: Append tabular[xy] to `LaTeX-item-list', Tassilo Horn, 2016/12/22
- [elpa] externals/auctex e4aba95 21/36: Support RefTeX with `reftex-add-label-environments' in style/mathtools.el, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex f04e5f7 09/36: Add style file for amsfonts package, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex c4cb166 33/36: Add style/ directory to TeX-style-path for tests, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex 25e4f33 03/36: Add new style/FiraSans.el, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex c073d3e 12/36: Insert \label inside the mandatory argument of \caption, Tassilo Horn, 2016/12/22
- [elpa] externals/auctex 0d26aba 01/36: Suggest to display warnings when there are no errors in error overview, Tassilo Horn, 2016/12/22