[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 9d12a06 66/95: Use `TeX-replace-regexp-in-string
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 9d12a06 66/95: Use `TeX-replace-regexp-in-string' in style files |
Date: |
Sun, 16 Apr 2017 01:26:56 -0400 (EDT) |
branch: externals/auctex
commit 9d12a0687f0c1e142019f591f453315ec93e02d0
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
Use `TeX-replace-regexp-in-string' in style files
* style/empheq.el (LaTeX-empheq-item-equation):
* style/tcolorbox.el (LaTeX-tcolorbox-load-used-libraries):
* style/xcolor.el (LaTeX-xcolor-auto-cleanup): Use compat function
`TeX-replace-regexp-in-string'.
---
style/empheq.el | 4 ++--
style/tcolorbox.el | 2 +-
style/xcolor.el | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/style/empheq.el b/style/empheq.el
index 9b82289..5618646 100644
--- a/style/empheq.el
+++ b/style/empheq.el
@@ -227,8 +227,8 @@ number of ampersands if possible."
(when (looking-at "[ \t\n\r%]*\\[")
(forward-sexp))
(re-search-forward "[ \t\n\r%]*{\\([^}]+\\)}")
- (setq match (replace-regexp-in-string "[ \t\n\r%]" ""
- (match-string-no-properties 1)))
+ (setq match (TeX-replace-regexp-in-string "[ \t\n\r%]" ""
+ (match-string-no-properties 1)))
(if (string-match "=" match)
(progn
(setq amsenv (car (split-string match "=")))
diff --git a/style/tcolorbox.el b/style/tcolorbox.el
index cd9e6f3..77cab08 100644
--- a/style/tcolorbox.el
+++ b/style/tcolorbox.el
@@ -453,7 +453,7 @@ e.g. \"tcolorboxlib-raster.el\"."
(when (LaTeX-tcolorbox-tcbuselibrary-list)
(let (libs)
(dolist (x (LaTeX-tcolorbox-tcbuselibrary-list))
- (push (replace-regexp-in-string "[ %\n\r\t]" "" (car x)) libs))
+ (push (TeX-replace-regexp-in-string "[ %\n\r\t]" "" (car x)) libs))
(setq libs (mapconcat #'identity libs ","))
(dolist (x (split-string libs "," t))
(TeX-run-style-hooks (concat "tcolorboxlib-" x)))))
diff --git a/style/xcolor.el b/style/xcolor.el
index 1001f66..771bcff 100644
--- a/style/xcolor.el
+++ b/style/xcolor.el
@@ -264,7 +264,7 @@ xcolor package.")
(let ((head (car colset))
(tail (cadr colset))
(cols (split-string
- (replace-regexp-in-string "[ %\n\r\t]" "" (nth 2 colset))
+ (TeX-replace-regexp-in-string "[ %\n\r\t]" "" (nth 2 colset))
"\\(,[^;]+;\\|,[^;]+$\\)" t)))
(dolist (color cols)
(LaTeX-add-xcolor-definecolors (concat head color tail))))))
- [elpa] externals/auctex c360b9a 76/95: Adapt fontification for \lstinline, (continued)
- [elpa] externals/auctex c360b9a 76/95: Adapt fontification for \lstinline, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 2182b6f 30/95: Append "lstlisting" to `LaTeX-label-alist', Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 337ce76 33/95: Add new keys for package version 4.00, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 6bb49cc 39/95: * style/subfiles.el (LaTeX-subfiles-class-options): New function., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 4992f5a 46/95: Make customization to face specification to appear in, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex c97a654 48/95: * tex-ispell.el (TeX-ispell-skip-setcdr): Add entry for filecontents package., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 0dc770d 42/95: Prevent infinite loop in TeX-command-expand, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 841d4cb 45/95: Unify treatment of face argument over the relevant functions., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 72a6943 54/95: Add fallback for indentation when & is omitted, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 8fdc494 63/95: ; Provide fallback when no locale information is available, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 9d12a06 66/95: Use `TeX-replace-regexp-in-string' in style files,
Tassilo Horn <=
- [elpa] externals/auctex a71a72d 74/95: Add support for Japanese font command, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 88a7563 81/95: Fix last improvement for skipping of inline verbatim macros, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 16f24dd 90/95: ; * style/minted.el (LaTeX-minted-add-syntactic-keywords-extra): Fix doc string., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex a46c307 77/95: Improve fontification of verbatim macros in style/minted.el, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 83890d6 86/95: Update package options in style/amsmath.el, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 94b227d 89/95: * doc/auctex.texi (Selecting a Command): Document `TeX-ispell-verb-delimiters'., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 4225941 59/95: Modify `TeX-expand-list-builtin' instead of `TeX-expand-list', Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 79361b5 58/95: Add new style/fvextra.el, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex d0908cb 51/95: Fix auto selection of japanese TeX engine, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex aac8694 67/95: Use compat function `TeX-replace-regexp-in-string' in core files, Tassilo Horn, 2017/04/16