[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex bde89b9 27/57: * latex.el (LaTeX-env-label-as-ke
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex bde89b9 27/57: * latex.el (LaTeX-env-label-as-keyval): Use `buffer-substring-no-properties'. |
Date: |
Tue, 25 Jul 2017 14:02:31 -0400 (EDT) |
branch: externals/auctex
commit bde89b987c556bad3462cd4ec3734b5f0d6b4206
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
* latex.el (LaTeX-env-label-as-keyval): Use
`buffer-substring-no-properties'.
---
latex.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/latex.el b/latex.el
index 80bdab6..d0a956e 100644
--- a/latex.el
+++ b/latex.el
@@ -1275,14 +1275,12 @@ out."
(forward-sexp)
(set-marker opt-end (1- (point))))
;; If keyword argument is given and keyvals argument is not given,
- ;; parse the optional argument and put it into keyvals; the regexp
- ;; takes care of multi-line arguments
+ ;; parse the optional argument and put it into keyvals
(when (and keyword
(marker-position opt-start)
(not keyvals))
- (goto-char (1+ opt-start))
- (re-search-forward "\\(.*\\([\n\r].*\\)*\\)" opt-end t)
- (setq keyvals (match-string-no-properties 0)))
+ (setq keyvals (buffer-substring-no-properties
+ (1+ opt-start) opt-end)))
;; If keyword is given, only insert a label when keyword is found
;; inside the keyvals. If keyword is nil, then insert a label
;; anyways
- [elpa] externals/auctex 6fd235f 32/57: ; * tex-buf.el (TeX-adjust-process-coding-system): Avoid a compilation warning., (continued)
- [elpa] externals/auctex 6fd235f 32/57: ; * tex-buf.el (TeX-adjust-process-coding-system): Avoid a compilation warning., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex cd36aa8 45/57: Check and set `TeX-quote-language' if necessary, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex ef68910 44/57: Add new style/australian.el and style/newzealand.el, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 6e584e9 04/57: * style/exam.el ("exam"): Remove duplicate entries and backslash., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 9cf9f7c 09/57: Correctly exclude hypenation and thin spaces from command matches, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 7eab03a 20/57: * tex-ispell.el: Move entries from style/empheq.el to this file., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 0e4ad85 21/57: * latex/preview.dtx: Adjust contact email address., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex d004ac7 28/57: * tex.el (TeX-command-list): Fix typo in help string (mendex -> upmendex), Tassilo Horn, 2017/07/25
- [elpa] externals/auctex cd28c6f 23/57: Improve further the exclusion of reserved characters, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex f472378 22/57: Work around bug#26694, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex bde89b9 27/57: * latex.el (LaTeX-env-label-as-keyval): Use `buffer-substring-no-properties'.,
Tassilo Horn <=
- [elpa] externals/auctex 7249c78 11/57: * latex.el (LaTeX-common-initialization): Add eminnershape macro., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 00c76fb 29/57: Don't discard process output with `TeX-run-silent', Tassilo Horn, 2017/07/25
- [elpa] externals/auctex aed9191 33/57: * tests/tex/compilation-log.txt:, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 4d426ea 37/57: Suggest to rerun LaTeX if xsim properties changed, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 6cac3e5 13/57: Update style/fontspec.el to package version 2.6a, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex e0d067f 53/57: Manually cherry-pick commit bc0db60e, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 42aa58c 40/57: Add support for xreader viewer, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex cd1075b 43/57: Add new style/canadian.el, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex fa24654 55/57: * font-latex.el: Use the standard utf-8 rather than latin-1, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 8e89a80 17/57: Add new style/floatrow.el, Tassilo Horn, 2017/07/25