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

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

[elpa] elpa 2880b62 13/35: Fix regex in texmathp


From: Tassilo Horn
Subject: [elpa] elpa 2880b62 13/35: Fix regex in texmathp
Date: Sun, 31 Jan 2016 16:05:36 +0000

branch: elpa
commit 2880b625ce09cc86ac168530cdc23fc2e3e91ad9
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    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))))



reply via email to

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