[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 00f9192bbb 15/76: Check the value of `LaTeX-curr
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 00f9192bbb 15/76: Check the value of `LaTeX-current-environment' first |
Date: |
Fri, 13 Jan 2023 14:30:44 -0500 (EST) |
branch: externals/auctex
commit 00f9192bbbfbc1ecfc784f5a1b8c5e9880d7d44a
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Check the value of `LaTeX-current-environment' first
* style/breqn.el (LaTeX-breqn-key-val-options): Check if the
variable `LaTeX-current-environment' contains a name before
running the function of the same name.
---
style/breqn.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/style/breqn.el b/style/breqn.el
index bdca52839f..9b2ae933f7 100644
--- a/style/breqn.el
+++ b/style/breqn.el
@@ -66,7 +66,8 @@ The keys \"label\" and \"labelprefix\" are omitted.")
(defun LaTeX-breqn-key-val-options ()
"Return updated key=val's based on the current \"breqn\" environment."
- (let ((currenv (LaTeX-current-environment)))
+ (let ((currenv (or LaTeX-current-environment
+ (LaTeX-current-environment))))
(cond ((string-match-p "\\`dgroup" currenv)
(append '(("noalign") ("brace"))
LaTeX-breqn-key-val-options))
- [elpa] externals/auctex updated (945aba3d41 -> 358b4d0785), Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 6a5c691f7e 03/76: Simplify implementation of style/amsthm.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 08f4fda5bd 06/76: * style/attachfile.el ("attachfile"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex aaf71ede5d 04/76: Simplify implementation of style/ntheorem.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 65652e8c2d 13/76: Simplify implementation of style/breqn.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 00f9192bbb 15/76: Check the value of `LaTeX-current-environment' first,
Tassilo Horn <=
- [elpa] externals/auctex a3887ad184 02/76: Ignore errors from dbus-ping (fixes bug#59380)., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 75bea89b03 09/76: Simplify implementation of style/booktabs.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex eca0fadbc3 18/76: ; Trivial cleanups, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex ee9e8a2b6e 11/76: Move `TeX-TikZ-point-name-regexp' to tex-style.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 2342a342f9 08/76: Simplify implementation of style/bigstrut.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 7bb6878867 20/76: Simplify implementation of style/CJK.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 3d5ac9cf7a 17/76: Cleanup newcommand/newenvironment support, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 94c28a3214 10/76: Enhance scope environmnent support, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex d55a960018 19/76: Simplify implementation of style/changes.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 1c7a1b582e 23/76: Simplify implementation of style/csquotes.el, Tassilo Horn, 2023/01/13