branch: elpa
commit 2880b625ce09cc86ac168530cdc23fc2e3e91ad9
Author: Mosè Giordano <[email protected]>
Commit: Mosè Giordano <[email protected]>
Fix regex in texmathp
* texmathp.el: Replace \t with \r. Reported by Marcin Borkowski.
---
texmathp.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/texmathp.el b/texmathp.el
index f13e237..e83f548 100644
--- a/texmathp.el
+++ b/texmathp.el
@@ -257,7 +257,7 @@ See the variable `texmathp-tex-commands' about which
commands are checked."
(interactive)
(let* ((pos (point)) math-on sw-match
(bound (save-excursion
- (if (re-search-backward "[\n\t][ \t]*[\n\r]"
+ (if (re-search-backward "[\n\r][ \t]*[\n\r]"
nil 1 texmathp-search-n-paragraphs)
(match-beginning 0)
(point-min))))