The variable TeX-auto-untabify is occasionally useful to set in the local
variables section of a file that really depends on it. Emacs then
complains, because this variable is not marked as safe. The following
patch adds that:
--- tex.el 2009-10-02 11:58:19.000000000 -0700
+++ tex.el 2010-07-18 15:22:47.000000000 -0700
@@ -2679,10 +2679,12 @@
(defcustom TeX-auto-untabify nil
"*Automatically untabify when saving the buffer."
:group 'TeX-parse
:type 'boolean)
+(put 'TeX-auto-untabify 'safe-local-variable 'TeX-booleanp)
+
(defun TeX-auto-write ()
"Save all relevant TeX information from the current buffer."
(if TeX-auto-untabify
(untabify (point-min) (point-max)))
(if (and TeX-auto-save TeX-auto-local)
_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex