[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 5b73efbfe3 51/76: ; * latex.el (LaTeX-what-macro
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 5b73efbfe3 51/76: ; * latex.el (LaTeX-what-macro): Assign values in one go. |
Date: |
Fri, 13 Jan 2023 14:31:05 -0500 (EST) |
branch: externals/auctex
commit 5b73efbfe39d2a301d7581082f0b194a26b797e6
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
; * latex.el (LaTeX-what-macro): Assign values in one go.
---
latex.el | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/latex.el b/latex.el
index 04caaf539a..29ac950252 100644
--- a/latex.el
+++ b/latex.el
@@ -7385,10 +7385,13 @@ this point. If nil, limit to the previous 15 lines."
(error nil))
;; Set the initial value of argument counter
(setq cnt 1)
- ;; Note that we count also the right opt. or man. arg:
- (setq cnt-opt (if (= (following-char) ?\{) 0 1))
- ;; Record if we're inside a mand. or opt. argument
- (setq type (if (= (following-char) ?\{) 'mandatory 'optional))
+ ;; Note that we count also the right opt. or man. arg and
+ ;; record if we're inside a mand. or opt. argument
+ (if (= (following-char) ?\{)
+ (setq cnt-opt 0
+ type 'mandatory)
+ (setq cnt-opt 1
+ type 'optional))
;; Move back over any touching sexps
(while (and (LaTeX-move-to-previous-arg bound)
(condition-case nil
- [elpa] externals/auctex updated (945aba3d41 -> 358b4d0785), 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 94c28a3214 10/76: Enhance scope environmnent support, 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 3e8aa71ef2 35/76: Fix bug#58689 with a bit of optiomization, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 2664170ecc 37/76: Update style/fvextra.el to package version 1.5, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 22fa670915 55/76: ; Fix doc strings, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 68e14e7ce4 45/76: * style/ltablex.el ("ltablex"): Add fontification support., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 5b73efbfe3 51/76: ; * latex.el (LaTeX-what-macro): Assign values in one go.,
Tassilo Horn <=
- [elpa] externals/auctex 7bb6878867 20/76: Simplify implementation of style/CJK.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex a3887ad184 02/76: Ignore errors from dbus-ping (fixes bug#59380)., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 3d5ac9cf7a 17/76: Cleanup newcommand/newenvironment support, 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 00f9192bbb 15/76: Check the value of `LaTeX-current-environment' first, 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 28eee191b2 50/76: ; * style/enumitem.el ("enumitem"): Slightly improve last change., 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 aaf71ede5d 04/76: Simplify implementation of style/ntheorem.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex d55a960018 19/76: Simplify implementation of style/changes.el, Tassilo Horn, 2023/01/13