branch: elpa/cdlatex
commit 476b6efab5b6effeb1ce0b4097fa90fbe6d97cf7
Author: Carsten Dominik <[email protected]>
Commit: Carsten Dominik <[email protected]>
Do not modify capital I and J when adding accent
---
cdlatex.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cdlatex.el b/cdlatex.el
index cb71336f71..801586c35d 100644
--- a/cdlatex.el
+++ b/cdlatex.el
@@ -1389,7 +1389,7 @@ constant `cdlatex-math-modify-alist'."
((not inside-math) (forward-char 1))
(t (register-to-point ?x)
(forward-char -1)
- (if (and rmdot (looking-at "[ij]"))
+ (if (and rmdot (let (case-fold-search) (looking-at
"[ij]")))
(progn (insert "\\")
(forward-char 1)
(insert "math")