[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa b2ebbb3 29/35: Use `TeX-ispell-skip-setcdr' on user defined
From: |
Tassilo Horn |
Subject: |
[elpa] elpa b2ebbb3 29/35: Use `TeX-ispell-skip-setcdr' on user defined listing environments |
Date: |
Thu, 1 Sep 2016 15:57:50 +0000 (UTC) |
branch: elpa
commit b2ebbb3634b8993cc192e136495f0d4c1522d025
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
Use `TeX-ispell-skip-setcdr' on user defined listing environments
* style/listings.el (LaTeX-listings-auto-cleanup): Use
`TeX-ispell-skip-setcdr' on user defined lists.
---
style/listings.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/style/listings.el b/style/listings.el
index 2d50b2c..e3a48a9 100644
--- a/style/listings.el
+++ b/style/listings.el
@@ -291,7 +291,9 @@ with user-defined values via the \"lstdefinestyle\" macro."
(t ; No args
(add-to-list 'LaTeX-auto-environment (list env))))
(add-to-list 'LaTeX-indent-environment-list `(,env current-indentation)
t)
- (add-to-list 'LaTeX-verbatim-environments-local env)))
+ (add-to-list 'LaTeX-verbatim-environments-local env)
+ ;; Add new env's to `ispell-tex-skip-alist': skip the entire env
+ (TeX-ispell-skip-setcdr `(,(cons env (concat "\\\\end{" env "}"))))))
(when (LaTeX-listings-lstdefinestyle-list)
(LaTeX-listings-update-style-key)))
- [elpa] elpa c1a2b33 10/35: ; Add missing space in prompt, (continued)
- [elpa] elpa c1a2b33 10/35: ; Add missing space in prompt, Tassilo Horn, 2016/09/01
- [elpa] elpa 7f91fb9 06/35: More about TeX-raise-frame-function, Tassilo Horn, 2016/09/01
- [elpa] elpa 97c992d 09/35: Catch up with deletion of \commondummies in texinfo.tex, Tassilo Horn, 2016/09/01
- [elpa] elpa 4f15be6 15/35: ; Remove wrong entries for varioref.sty, Tassilo Horn, 2016/09/01
- [elpa] elpa 7828a43 16/35: ; Remove wrong entries for cleveref.sty, Tassilo Horn, 2016/09/01
- [elpa] elpa bb9f427 01/35: Grab focus on Evince inverse search, Tassilo Horn, 2016/09/01
- [elpa] elpa dfe0937 12/35: Reset `LaTeX-auto-xcolor-definecolorset' before parsing, Tassilo Horn, 2016/09/01
- [elpa] elpa 8c57d38 11/35: Fix doc string for curve quoting style in Emacs 25, Tassilo Horn, 2016/09/01
- [elpa] elpa e259e40 26/35: Add a Japanese error message translation, Tassilo Horn, 2016/09/01
- [elpa] elpa ce347e6 03/35: Document how to disable filling for specific environments, Tassilo Horn, 2016/09/01
- [elpa] elpa b2ebbb3 29/35: Use `TeX-ispell-skip-setcdr' on user defined listing environments,
Tassilo Horn <=
- [elpa] elpa 22f9450 30/35: Use `TeX-ispell-skip-setcar' on user defined index macros, Tassilo Horn, 2016/09/01
- [elpa] elpa 131c537 14/35: Document interaction with Ispell, Tassilo Horn, 2016/09/01
- [elpa] elpa ba10cf0 04/35: New defcustom TeX-raise-frame-function, Tassilo Horn, 2016/09/01
- [elpa] elpa 40b3518 13/35: Add new spell checking dictionary tex-ispell.el, Tassilo Horn, 2016/09/01
- [elpa] elpa d0e8c1c 32/35: Add new style/paracol.el, Tassilo Horn, 2016/09/01
- [elpa] elpa fcb6424 27/35: Revise document for Japanese TeX, Tassilo Horn, 2016/09/01
- [elpa] elpa 12bfe80 33/35: Add new style/menukeys.el, Tassilo Horn, 2016/09/01
- [elpa] elpa 803894c 19/35: Add new style/empheq.el, Tassilo Horn, 2016/09/01
- [elpa] elpa 073b17a 23/35: Update style/mathtools.el to v1.18 of mathtools.sty, Tassilo Horn, 2016/09/01
- [elpa] elpa 5beae62 25/35: Set the right coding systems for Japanese TeX process, Tassilo Horn, 2016/09/01