[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 75bea89b03 09/76: Simplify implementation of sty
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 75bea89b03 09/76: Simplify implementation of style/booktabs.el |
Date: |
Fri, 13 Jan 2023 14:30:44 -0500 (EST) |
branch: externals/auctex
commit 75bea89b0304cd560ef83910f3899520f1e85c15
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Simplify implementation of style/booktabs.el
* style/booktabs.el ("booktabs"): Delete the function
`LaTeX-booktabs-arg-paren' and use `TeX-arg-string' instead.
---
style/booktabs.el | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/style/booktabs.el b/style/booktabs.el
index 79571ea3c5..bf3c0f532e 100644
--- a/style/booktabs.el
+++ b/style/booktabs.el
@@ -1,6 +1,6 @@
;;; booktabs.el -- AUCTeX style for booktabs.sty -*- lexical-binding: t; -*-
-;; Copyright (C) 2003, 2004, 2013, 2018, 2020 Free Software Foundation, Inc.
+;; Copyright (C) 2003--2022 Free Software Foundation, Inc.
;; Author: Ralf Angeli <angeli@iwi.uni-sb.de>
;; Maintainer: auctex-devel@gnu.org
@@ -37,14 +37,6 @@
"font-latex"
(keywords class))
-(defun LaTeX-booktabs-arg-paren (optional prompt)
- "Prompt for a value and use parentheses when it is inserted.
-If OPTIONAL is non-nil the parameter is labeled as optional.
-PROMPT is the value of the prompt to be shown."
- (let ((TeX-arg-opening-brace "(")
- (TeX-arg-closing-brace ")"))
- (TeX-parse-argument optional prompt)))
-
(TeX-add-style-hook
"booktabs"
(lambda ()
@@ -61,7 +53,8 @@ PROMPT is the value of the prompt to be shown."
'("bottomrule" [ "Thickness" ])
;; The `ignore' resets `TeX-last-optional-rejected' to nil so that the trim
;; argument is prompted also when the thickness is skipped.
- '("cmidrule" [ "Thickness" ] (ignore) [ LaTeX-booktabs-arg-paren "Trim" ]
+ '("cmidrule" [ "Thickness" ] (ignore)
+ [TeX-arg-string "Trim" nil nil nil "(" ")"]
"Column(s)")
'("addlinespace" [ "Height" ])
'("morecmidrules")
- [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, 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 75bea89b03 09/76: Simplify implementation of style/booktabs.el,
Tassilo Horn <=
- [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
- [elpa] externals/auctex 28eee191b2 50/76: ; * style/enumitem.el ("enumitem"): Slightly improve last change., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex c60ed913a0 12/76: ; Remove unnecessary `declare-function', Tassilo Horn, 2023/01/13