[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 65e56e1 93/95: ; Make sure that `regex-opt' buil
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 65e56e1 93/95: ; Make sure that `regex-opt' builds a shy group. |
Date: |
Sun, 16 Apr 2017 01:27:03 -0400 (EDT) |
branch: externals/auctex
commit 65e56e181c1e46353141c8a9a8252515a9bad0f6
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
; Make sure that `regex-opt' builds a shy group.
* style/minted.el (LaTeX-minted-add-syntactic-keywords-extra):
Make sure that `regex-opt' builds a shy group.
Minor code rearrangement.
---
style/minted.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/style/minted.el b/style/minted.el
index b6c75d3..159e853 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -302,13 +302,12 @@ are loaded."
TYPE is one of the symbols `brace' or `delim' indicating how
verbatim text is enclosed after the macro. MACRO is a string or
a list of strings."
- (let ((macro (if (listp macro)
- (regexp-opt macro)
- macro))
- (syntax (if (eq type 'brace)
+ (let ((syntax (if (eq type 'brace)
'((1 "|") (2 "|"))
'((1 "\"") (2 ".") (3 "\""))))
regexp)
+ (when (listp macro)
+ (setq macro (regexp-opt macro "\\(?:")))
(setq regexp `(,(concat
;; The backslash
(regexp-quote TeX-esc)
- [elpa] externals/auctex 618bdf1 85/95: Append \b to regexp built from TeX control words, (continued)
- [elpa] externals/auctex 618bdf1 85/95: Append \b to regexp built from TeX control words, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 0cde29b 87/95: ; * tex-ispell.el (TeX-ispell-verb-delimiters): Remove `*'., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 07a2903 82/95: Don't alter standard value or saved value themselves of customize option, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 194a8f8 62/95: Add LaTeX inline math delimiters to Ispell skip list, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 7390999 61/95: ; Simplify insertion of a newline after label, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 6a298a8 47/95: Fix documents and add trivial improvements., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex a286e8b 57/95: Improve parsing capabilities of style/fancyvrb.el, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 11e234b 55/95: Remove spurious entries of view settings., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 83a875b 83/95: ; * tex.el (TeX-ispell-tex-arg-verb-end): Drop unnecessary `format'., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 2116248 94/95: * doc/changes.texi: Update with recent changes., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 65e56e1 93/95: ; Make sure that `regex-opt' builds a shy group.,
Tassilo Horn <=
- [elpa] externals/auctex e6c95e9 78/95: * tests/latex/fontification-verb-macros.tex: New file., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex a8dba19 60/95: Fix addition of key=val's, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 4688310 65/95: Add new compat function `TeX-replace-regexp-in-string', Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 6b5a7e0 56/95: Improve fallback for indentation when & is omitted, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 592297d 64/95: Avoid altering user option as much as possible, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 7a382d2 72/95: * texmathp.el (texmathp-tex-commands-default): Add entries for empheq.sty., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 2fef12e 80/95: ; Clear out byte compile warning, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 51d8d3d 75/95: Recognize optional argument in verb macros with delimiters/braces, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex d5951e6 79/95: Improve skipping of inline verbatim macros, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex a45821b 92/95: ; * latex.el (LaTeX-section-list-add-locally): Fix doc string., Tassilo Horn, 2017/04/16