emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 88/299: Improve TeX-math-input-method-off-regexp.


From: Stefan Monnier
Subject: [elpa] 88/299: Improve TeX-math-input-method-off-regexp.
Date: Sun, 02 Nov 2014 03:10:32 +0000

monnier pushed a commit to branch externals/auctex
in repository elpa.

commit e427f8d5cb0b15ce9a0954c24ed48165f04509d9
Author: Leo Liu <address@hidden>
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  <address@hidden>
 
        * 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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]