monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 5f6461694bb4b99f28e25d75ce3def8703c832a5
Author: Tassilo Horn <[email protected]>
Date: Mon Sep 2 12:58:14 2013 +0200
* tex.el (TeX-electric-math): Fix defcustom choices.
---
ChangeLog | 2 ++
tex.el | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 29617d4..ac3c37f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2013-09-02 Tassilo Horn <[email protected]>
+ * tex.el (TeX-electric-math): Fix defcustom choices.
+
* bib-cite.el (bib-cite-minor-mode): Call `make-local-hook' only
on XEmacs.
diff --git a/tex.el b/tex.el
index 8757517..66e22cd 100644
--- a/tex.el
+++ b/tex.el
@@ -5172,9 +5172,9 @@ If non-nil, this variable is a cons cell whose CAR is the
string
to insert before point, the CDR is the string to insert after
point. You can choose between \"$...$\" and \"\\(...\\)\"."
:group 'TeX-macro
- :type '(choice (const :tag "$" nil)
- (const :tag "$...$" '("$" . "$"))
- (const :tag "\\(...\\)" '("\\(" . "\\)"))
+ :type '(choice (const :tag "No electricity" nil)
+ (const :tag "$...$" ("$" . "$"))
+ (const :tag "\\(...\\)" ("\\(" . "\\)"))
(cons :tag "Other"
(string :tag "Insert before point")
(string :tag "Insert after point"))))