From: Ivan Shmakov Date: Sat, 23 Nov 2013 02:46:20 +0000 (-0800) Subject: * textmodes/tex-mode.el (latex-noindent-environments): Add safe-local-variable X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~736 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c27924b79474ff7be14cc8abff0cc7ea0c3bd609;p=emacs.git * textmodes/tex-mode.el (latex-noindent-environments): Add safe-local-variable property. Fixes: debbugs:15936 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 30b62f0880f..2321854e545 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-11-23 Ivan Shmakov (tiny change) + + * textmodes/tex-mode.el (latex-noindent-environments): + Add safe-local-variable property. (Bug#15936) + 2013-11-23 Glenn Morris * textmodes/enriched.el (enriched-mode): Doc fix. diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 7b16262233d..c01d7784309 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -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)))