branch: externals/auctex
commit 0d8e6c640140ce2f0e2875c4488339bc5cb1e475
Author: Ikumi Keita <[email protected]>
Commit: Ikumi Keita <[email protected]>
Document `TeX-math-input-method-off-regexp' properly.
* doc/auctex.texi (Entering Mathematics):
* doc/changes.texi (News in 11.92):
Document `TeX-math-input-method-off-regexp'.
---
doc/auctex.texi | 9 +++++++++
doc/changes.texi | 15 +++++++++++++++
2 files changed, 24 insertions(+)
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 0335b6c..c9bc991 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -1206,6 +1206,15 @@ In order to enable this feature, set the variable
If non-nil, insert braces after typing @key{^} and @key{_} in math mode.
@end defopt
+You can automatically turn off input methods, used to input non-ascii
+characters, when you begin to enter math constructs.
+
+@defopt TeX-math-input-method-off-regexp
+Input method matching this regular expression is turned off when @kbd{$}
+is typed to begin math mode or a math environment is inserted by
+@kbd{C-c C-e} (@code{LaTeX-environment}).
+@end defopt
+
@node Completion
@section Completion
@cindex Completion
diff --git a/doc/changes.texi b/doc/changes.texi
index ab38cdf..b43a657 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -8,6 +8,21 @@
@end ifset
+@heading News in 11.92
+
+@itemize @bullet
+@item
+@AUCTeX{} has a new customize option
+@code{TeX-math-input-method-off-regexp}. When you begin to input a math
+formula, the current input method is turned off if its name matches this
+regular expression.
+
+In fact this variable was introduced long before, but has not been
+documented in info files nor turned into a customize option with
+@code{defcustom} until this release.
+
+@end itemize
+
@heading News in 11.91
@itemize @bullet