branch: externals/auctex
commit 2e968b6af3569eb43094c951d876233a757984f9
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
; Fix escapings
* style/acro.el (LaTeX-acro-declareacronym-keys)
(LaTeX-acro-printacronyms-keys):
* style/booktabs.el (LaTeX-booktabs-arg-paren):
* style/theorem.el (LaTeX-theorem-fontdecl)
(LaTeX-arg-theorem-fontdecl): Fix escaping of characters.
---
style/acro.el | 4 ++--
style/booktabs.el | 4 ++--
style/theorem.el | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/style/acro.el b/style/acro.el
index 6d80642..56291a1 100644
--- a/style/acro.el
+++ b/style/acro.el
@@ -141,12 +141,12 @@ string."
("alt-indefinite") ("extra") ("sort") ("class") ("cite") ("short-format")
("long-format") ("first-long-format") ("pdfstring") ("accsupp")
("index-sort") ("index") ("index-cmd"))
- "List of keys accepted by `\DeclareAcronym' macro of `acro' package
+ "List of keys accepted by `\\DeclareAcronym' macro of `acro' package
in its second mandatory argument.")
(defvar LaTeX-acro-printacronyms-keys
'(("include-classes") ("exclude-classes") ("name") ("header"))
- "List of keys accepted by `\printacronyms' macro of `acro' package
+ "List of keys accepted by `\\printacronyms' macro of `acro' package
in its optional argument.")
(defun LaTeX-arg-acro-key-val (optional prompt key-val-alist)
diff --git a/style/booktabs.el b/style/booktabs.el
index 7de74b6..79571ea 100644
--- a/style/booktabs.el
+++ b/style/booktabs.el
@@ -41,8 +41,8 @@
"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 "\)"))
+ (let ((TeX-arg-opening-brace "(")
+ (TeX-arg-closing-brace ")"))
(TeX-parse-argument optional prompt)))
(TeX-add-style-hook
diff --git a/style/theorem.el b/style/theorem.el
index d0fd1ff..219e864 100644
--- a/style/theorem.el
+++ b/style/theorem.el
@@ -63,10 +63,10 @@
"Large" "LARGE" "huge" "Huge"
;; reset macro
"normalfont")
- "List of font declaration commands for \"\\theorem(body\|header)font\".")
+ "List of font declaration commands for \"\\theorem(body|header)font\".")
(defun LaTeX-arg-theorem-fontdecl (optional &optional prompt)
- "Prompt for font declaration commands in \"\\theorem(body\|header)font\".
+ "Prompt for font declaration commands in \"\\theorem(body|header)font\".
If OPTIONAL is non-nil, insert the resulting value as an optional
argument. Use PROMPT as the prompt string."
;; `INITIAL-INPUT' (5th argument to `TeX-completing-read-multiple')