monnier pushed a commit to branch externals/auctex
in repository elpa.
commit e427f8d5cb0b15ce9a0954c24ed48165f04509d9
Author: Leo Liu <[email protected]>
Date: Mon May 17 19:39:15 2010 +0100
Improve TeX-math-input-method-off-regexp.
* tex.el (TeX-math-input-method-off-regexp): Improve and fix typo.
See bug http://permalink.gmane.org/gmane.emacs.auctex.devel/2468.
---
ChangeLog | 3 +++
tex.el | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ba42e47..ce0f36a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,9 @@
(TeX-view-program-selection): Enable commented code to support
darwin system.
+ * tex.el (TeX-math-input-method-off-regexp): Improve and fix typo.
+ See bug http://permalink.gmane.org/gmane.emacs.auctex.devel/2468.
+
2013-04-08 Tassilo Horn <[email protected]>
* latex.el (LaTeX-style-list): Correct docstring.
diff --git a/tex.el b/tex.el
index f7607b3..2cf9e2f 100644
--- a/tex.el
+++ b/tex.el
@@ -5234,7 +5234,7 @@ sign. With optional ARG, insert that many dollar signs."
(TeX-math-input-method-off))
(defvar TeX-math-input-method-off-regexp
- "^\\(chinese\\|japanese\\|korean\\|bulgarian\\|russian\\)"
+ (concat "^" (regexp-opt '("chinese" "japanese" "korean" "bulgarian"
"russian") t))
"Regexp matching input methods to be deactivated when entering math mode.")
(defun TeX-math-input-method-off ()