[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 4e15656 19/71: Cleanup indentation of verbatim e
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 4e15656 19/71: Cleanup indentation of verbatim environments |
Date: |
Fri, 17 Dec 2021 15:00:28 -0500 (EST) |
branch: externals/auctex
commit 4e156561ba1fbb5275661fd1fd6c7e48d0fb2ec4
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Cleanup indentation of verbatim environments
* latex.el (LaTeX-begin-regexp): Delete because this variable isn't
used anywhere.
(LaTeX-indent-calculate-last): Remove redundant regexp grouping.
---
latex.el | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/latex.el b/latex.el
index d833b0f..9630556 100644
--- a/latex.el
+++ b/latex.el
@@ -3564,13 +3564,6 @@ functions, see `LaTeX-fill-region-as-paragraph'."
:group 'LaTeX-indentation
:type 'regexp)
-(defcustom LaTeX-verbatim-regexp "verbatim\\*?"
- "Regexp matching environments with indentation at col 0 for begin/end."
- :group 'LaTeX-indentation
- :type 'regexp)
-(make-obsolete-variable 'LaTeX-verbatim-regexp
'LaTeX-verbatim-environments-local
- "2014-12-19")
-
(defcustom LaTeX-begin-regexp "begin\\b\\|\\["
"Regexp matching macros considered begins."
:group 'LaTeX-indentation
@@ -3850,12 +3843,12 @@ outer indentation in case of a commented line. The
symbols
;; environment.
0)
((looking-at (concat (regexp-quote TeX-esc)
- "begin *{\\("
+ "begin *{"
;; Don't give optional argument here
;; because indent would be disabled
;; inside comment env otherwise.
(LaTeX-verbatim-regexp)
- "\\)}"))
+ "}"))
0)
((looking-at (concat (regexp-quote TeX-esc)
"end *{"
- [elpa] externals/auctex 6902d05 42/71: Improve handling of key=vals in style/minted.el, (continued)
- [elpa] externals/auctex 6902d05 42/71: Improve handling of key=vals in style/minted.el, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex 199bc6e 48/71: Use coherent logic to identify code comment (bug#51762), Tassilo Horn, 2021/12/17
- [elpa] externals/auctex 2e6846e 04/71: Check the options and load the style backref.el, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex 43f6398 46/71: Improve handling of key=vals in style/enumitem.el, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex cd4a1c9 28/71: * style/graphicx.el (LaTeX-graphicx-key-val-options): Add alt key., Tassilo Horn, 2021/12/17
- [elpa] externals/auctex ba1cbd2 53/71: Improve handling of key=vals in style/caption.el, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex f6edd15 70/71: Add style/sidecap.el, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex 45d3a11 08/71: ; Fix unbalanced parentheses, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex 2d9944d 03/71: ; Improve initial commit., Tassilo Horn, 2021/12/17
- [elpa] externals/auctex 9a42bf4 29/71: ; Minor doc fixes, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex 4e15656 19/71: Cleanup indentation of verbatim environments,
Tassilo Horn <=
- [elpa] externals/auctex 2af20f4 27/71: ; Silence TeX warnings, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex ec9362d 16/71: ; * doc/todo.texi (Mid-term Goals): Fix spacing., Tassilo Horn, 2021/12/17
- [elpa] externals/auctex c457aab 35/71: * style/babel.el ("babel"): Use `LaTeX-fontspec-font-features'., Tassilo Horn, 2021/12/17
- [elpa] externals/auctex bc5f7bc 60/71: Add new style/cancel.el, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex fa309c9 02/71: Fix error when tex.el is loaded while default-directory doesn't exist, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex f72f849 15/71: Delete obsolete files and targets, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex 16bcc8d 21/71: ; * tex.el (TeX-source-correlate-mode): Quote function name by #'., Tassilo Horn, 2021/12/17
- [elpa] externals/auctex 3684fde 17/71: Explain how to support option completion, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex 0752650 44/71: Don't use obsolete @inforef, Tassilo Horn, 2021/12/17
- [elpa] externals/auctex 5f67eac 50/71: Fix logic again, Tassilo Horn, 2021/12/17