[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. fc77abfcee426c3b3e0ce
From: |
Ikumi Keita |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. fc77abfcee426c3b3e0ced2f0cad02a385bfcb60 |
Date: |
Sun, 31 May 2020 11:39:42 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".
The branch, master has been updated
via fc77abfcee426c3b3e0ced2f0cad02a385bfcb60 (commit)
from e410168c79e942fd00fd4bb4b922ca3d70c1e09c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fc77abfcee426c3b3e0ced2f0cad02a385bfcb60
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Date: Mon Jun 1 00:29:06 2020 +0900
Simplify regexp in texmathp.el
* texmathp.el (texmathp-compile): Simplify regexp. In [^...] backslash
and dollar have no special meaning so they can (should) be raw.
diff --git a/texmathp.el b/texmathp.el
index 723623b..3beac2e 100644
--- a/texmathp.el
+++ b/texmathp.el
@@ -185,10 +185,10 @@ customize (customize calls it when setting the variable)."
((memq type '(sw-toggle)) 'togglers)))
(set var (cons (car entry) (symbol-value var))))
(setq texmathp-onoff-regexp
- (concat "\\(?:[^\\\\]\\|\\`\\)"
+ (concat "\\(?:[^\\]\\|\\`\\)"
(regexp-opt switches t))
texmathp-toggle-regexp
- (concat "\\([^\\\\\\$]\\|\\`\\)"
+ (concat "\\([^\\$]\\|\\`\\)"
(regexp-opt togglers t)))))
(defcustom texmathp-tex-commands nil
-----------------------------------------------------------------------
Summary of changes:
texmathp.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. fc77abfcee426c3b3e0ced2f0cad02a385bfcb60,
Ikumi Keita <=