[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex e83a4b87b3 25/48: Use the correct function to re
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex e83a4b87b3 25/48: Use the correct function to retrieve the key=vals |
Date: |
Fri, 18 Nov 2022 14:27:44 -0500 (EST) |
branch: externals/auctex
commit e83a4b87b3bb147ae4d00b567fb804901c226fdf
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Use the correct function to retrieve the key=vals
* style/siunitx.el (LaTeX-siunitx-key-val-options): Delete
unnecessary `and' when checking for a color package.
("siunitx"): Use the correct function
`LaTeX-siunitx-key-val-options' for the old commands.
---
style/siunitx.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/style/siunitx.el b/style/siunitx.el
index b1164a1f68..da09a7e390 100644
--- a/style/siunitx.el
+++ b/style/siunitx.el
@@ -1,6 +1,6 @@
;;; siunitx.el --- AUCTeX style for `siunitx.sty' version 3.3.36. -*-
lexical-binding: t; -*-
-;; Copyright (C) 2012-2021 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2022 Free Software Foundation, Inc.
;; Maintainer: auctex-devel@gnu.org
;; Author: Mosè Giordano <mose@gnu.org>
@@ -260,8 +260,8 @@ string."
(defun LaTeX-siunitx-key-val-options ()
"Return an updated list of key=vals from siunitx package."
(append
- (when (and (or (member "xcolor" (TeX-style-list))
- (member "color" TeX-active-styles)))
+ (when (or (member "xcolor" (TeX-style-list))
+ (member "color" TeX-active-styles))
(let* ((colorcmd (if (member "xcolor" TeX-active-styles)
#'LaTeX-xcolor-definecolor-list
#'LaTeX-color-definecolor-list))
@@ -331,12 +331,12 @@ string."
;; but are not recommended for use in new documents. We provide
;; them in this file anyway since they are also needed when other
;; packages like physics or units are loaded:
- '("si" [TeX-arg-key-val (LaTeX-siunitx-package-options)]
LaTeX-arg-siunitx-unit)
- '("SI" [TeX-arg-key-val (LaTeX-siunitx-package-options)]
+ '("si" [TeX-arg-key-val (LaTeX-siunitx-key-val-options)]
LaTeX-arg-siunitx-unit)
+ '("SI" [TeX-arg-key-val (LaTeX-siunitx-key-val-options)]
"Value" ["Pre-unit"] LaTeX-arg-siunitx-unit)
- '("SIlist" [TeX-arg-key-val (LaTeX-siunitx-package-options)]
+ '("SIlist" [TeX-arg-key-val (LaTeX-siunitx-key-val-options)]
"Values" LaTeX-arg-siunitx-unit)
- '("SIrange" [TeX-arg-key-val (LaTeX-siunitx-package-options)]
+ '("SIrange" [TeX-arg-key-val (LaTeX-siunitx-key-val-options)]
"Value 1" "Value 2" LaTeX-arg-siunitx-unit))
;; 8 Compatibility with other packages
- [elpa] externals/auctex c0c9556338 30/48: Don't insert empty node name, (continued)
- [elpa] externals/auctex c0c9556338 30/48: Don't insert empty node name, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 978ebea1e8 16/48: Simplify implementation of style/thmtools.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex d3970b77da 09/48: ; * latex.el (LaTeX-common-initialization): Remove dupe textcircled., Tassilo Horn, 2022/11/18
- [elpa] externals/auctex a0ba387b2c 23/48: ; Trivial cleanups, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 04a3138c81 45/48: Simplify implementation of style/theorem.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 316550f0bf 29/48: Fix `ConTeXt-add-environments', Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 8775c8355f 13/48: Replace `TeX-arg-url-urlstyle' in style/url.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex a7a7209a08 33/48: Extend the argument list of some functions, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex c8d638ac9d 40/48: Use `functionp' to recognize a function, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 835e01ddb6 36/48: Extend the argument list of `TeX-arg-string', Tassilo Horn, 2022/11/18
- [elpa] externals/auctex e83a4b87b3 25/48: Use the correct function to retrieve the key=vals,
Tassilo Horn <=
- [elpa] externals/auctex a617944b4b 08/48: Fix style/xspace.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 50c0fb3d31 46/48: * style/afterpage.el ("afterpage"): Fontify the only macro., Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 82a23a93ae 43/48: Add some variables containing font declarations, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 93430d7ab0 48/48: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 7642155b73 03/48: Don't let-bind `inhibit-point-motion-hooks' to t, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 6cbeff713b 47/48: Simplify implementation of style/fancyhdr.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 3d8d93e4fd 41/48: ; Make code more resilient, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 35ec84ba6f 07/48: Add capf for LaTeX marco/environment arguments, Tassilo Horn, 2022/11/18