Commit c27924b7 authored by Ivan Shmakov's avatar Ivan Shmakov Committed by Glenn Morris
Browse files

* textmodes/tex-mode.el (latex-noindent-environments): Add safe-local-variable

property.

Fixes: debbugs:15936
parent d7aff0d6
2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
* textmodes/tex-mode.el (latex-noindent-environments):
Add safe-local-variable property. (Bug#15936)
2013-11-23 Glenn Morris <rgm@gnu.org>
* textmodes/enriched.el (enriched-mode): Doc fix.
......
......@@ -2680,6 +2680,8 @@ Runs the shell command defined by `tex-show-queue-command'."
(defvar tex-indent-item tex-indent-basic)
(defvar tex-indent-item-re "\\\\\\(bib\\)?item\\>")
(defvar latex-noindent-environments '("document"))
(put 'latex-noindent-environments 'safe-local-variable
(lambda (x) (null (delq t (mapcar 'stringp x)))))
(defvar tex-latex-indent-syntax-table
(let ((st (make-syntax-table tex-mode-syntax-table)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment