branch: externals/auctex
commit ea7ff484e5c94eae48e72eaae0f26486cb0338cd
Author: Ikumi Keita <[email protected]>
Commit: Ikumi Keita <[email protected]>

    * tex.el (TeX-math-input-method-off-regexp): Turn defvar into defcustom.
---
 tex.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tex.el b/tex.el
index 449e699..f875f8c 100644
--- a/tex.el
+++ b/tex.el
@@ -6132,9 +6132,11 @@ sign.  With optional ARG, insert that many dollar signs."
      ((insert "$")))))
   (TeX-math-input-method-off))
 
-(defvar TeX-math-input-method-off-regexp
+(defcustom TeX-math-input-method-off-regexp
   (concat "^" (regexp-opt '("chinese" "japanese" "korean" "bulgarian" 
"russian") t))
-  "Regexp matching input methods to be deactivated when entering math mode.")
+  "Regexp matching input methods to be deactivated when entering math mode."
+  :group 'TeX-misc
+  :type 'regexp)
 
 (defun TeX-math-input-method-off ()
   "Toggle off input method when entering math mode."

Reply via email to