[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] defvar LaTeX-mathtools-key-val-options is wrong
From: |
Nicolas Richard |
Subject: |
[AUCTeX-devel] defvar LaTeX-mathtools-key-val-options is wrong |
Date: |
Wed, 10 Apr 2013 16:07:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hello,
in file style/mathtools.el, the docstring of
LaTeX-mathtools-key-val-options should be after the (default) value.
Here is a patch :
>From c1f9ea37f73eca36d1006281a1e9e2c3d17a2164 Mon Sep 17 00:00:00 2001
From: Nicolas Richard <address@hidden>
Date: Wed, 10 Apr 2013 13:54:30 +0200
Subject: [PATCH] style/mathtools.el (LaTeX-mathtools-key-val-options):
docstring comes after the value
---
style/mathtools.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/style/mathtools.el b/style/mathtools.el
index 5934825..ae63289 100644
--- a/style/mathtools.el
+++ b/style/mathtools.el
@@ -43,7 +43,6 @@
"Package options for the mathtools package.")
(defvar LaTeX-mathtools-key-val-options
- "Options for the \\mathtoolsset command"
'(("showonlyrefs")
("mathic" ("true" "false"))
("showmanualtags" ("true" "false"))
@@ -54,7 +53,8 @@
("centercolon" ("true" "false"))
("prescript-sub-format")
("prescript-sup-format")
- ("prescript-arg-format")))
+ ("prescript-arg-format"))
+ "Options for the \\mathtoolsset command")
(TeX-add-style-hook
"mathtools"
--
1.8.1.5
I found that by doing C-h d, and hitting an error (which btw I found hard to
debug -- my debug-fu requires improvement)
--
Nico.
- [AUCTeX-devel] defvar LaTeX-mathtools-key-val-options is wrong,
Nicolas Richard <=