[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa 44e654b 22/51: Use `match-string-no-properties'
From: |
Tassilo Horn |
Subject: |
[elpa] elpa 44e654b 22/51: Use `match-string-no-properties' |
Date: |
Sun, 22 May 2016 07:22:49 +0000 (UTC) |
branch: elpa
commit 44e654be1b80a6462c93fc32efb910d14992cf33
Author: Ikumi Keita <address@hidden>
Commit: Mosè Giordano <address@hidden>
Use `match-string-no-properties'
* texmathp.el (texmathp, texmathp-match-environment): For better
consistency with other parts of the file, change `match-string' to
`no-properties' variant.
Signed-off-by: Mosè Giordano <address@hidden>
---
texmathp.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/texmathp.el b/texmathp.el
index e83f548..75eb2c0 100644
--- a/texmathp.el
+++ b/texmathp.el
@@ -287,7 +287,7 @@ See the variable `texmathp-tex-commands' about which
commands are checked."
(goto-char (cdr match))
(while (re-search-forward texmathp-toggle-regexp pos t)
(if (setq math-on (not math-on))
- (setq sw-match (cons (match-string 2) (match-beginning 2)))
+ (setq sw-match (cons (match-string-no-properties 2)
(match-beginning 2)))
(setq sw-match nil)))
(and math-on sw-match (setq match sw-match))))
@@ -336,7 +336,7 @@ Limit searched to BOUND. The return value is like
(\"equation\" . (point))."
(when (eq orig-comment-flag current-comment-flag)
(setq env (buffer-substring-no-properties
(match-beginning 2) (match-end 2)))
- (cond ((string= (match-string 1) "end")
+ (cond ((string= (match-string-no-properties 1) "end")
(setq end-list (cons env end-list)))
((equal env (car end-list))
(setq end-list (cdr end-list)))
- [elpa] elpa updated (7573813 -> ebf4b8a), Tassilo Horn, 2016/05/22
- [elpa] elpa da88a3e 01/51: Dinamically put delete-selection prop to TeX-insert-dollar, Tassilo Horn, 2016/05/22
- [elpa] elpa c58162a 04/51: TikZ: Add circle command., Tassilo Horn, 2016/05/22
- [elpa] elpa 310008b 05/51: TikZ: Add the arc command., Tassilo Horn, 2016/05/22
- [elpa] elpa b66c10a 08/51: TikZ: Add parabola command., Tassilo Horn, 2016/05/22
- [elpa] elpa 84dfb76 13/51: Do not use add-to-list for let-bound variable, Tassilo Horn, 2016/05/22
- [elpa] elpa de0d445 07/51: TikZ: Add optional parameter to `TeX-TikZ-single-macro-arg'., Tassilo Horn, 2016/05/22
- [elpa] elpa 44e654b 22/51: Use `match-string-no-properties',
Tassilo Horn <=
- [elpa] elpa 36b6051 12/51: Compatibility for XEmacs, Tassilo Horn, 2016/05/22
- [elpa] elpa af27d33 17/51: TikZ: Add the grid command., Tassilo Horn, 2016/05/22
- [elpa] elpa bc8d07f 27/51: Temporarily bind `TeX-insert-macro-default-style' to 'show-optional-args', Tassilo Horn, 2016/05/22
- [elpa] elpa 88fbf80 20/51: Fix in TeX sentinels, Tassilo Horn, 2016/05/22
- [elpa] elpa 693eee6 11/51: TikZ: Remove unneeded function., Tassilo Horn, 2016/05/22
- [elpa] elpa b20cd68 16/51: Fix a documentation type., Tassilo Horn, 2016/05/22
- [elpa] elpa 71349ec 23/51: Use `deactivate-input-method' if defined, Tassilo Horn, 2016/05/22
- [elpa] elpa d4d2ab5 31/51: Enable directory local variables in japanese-{latex, plain-tex}-mode, Tassilo Horn, 2016/05/22
- [elpa] elpa 63a83c3 30/51: Make unloading of tex-site work on Emacs 24, Tassilo Horn, 2016/05/22
- [elpa] elpa 5886c49 41/51: Improve the insertation of "macro" environment, Tassilo Horn, 2016/05/22