On Wed, Jan 03 2007, Peter Dyballa wrote:
> One AUCTeX variable is treated as unsafe, too:
> TeX-command-default. Are there reasons for doing this? The command
> to become executed has to be registered before as a command for the
> AUCTeX Commands menu. So it should be safe. Or am I wrong?
AFAICS, `TeX-command-default' should be safe. Does anyone see a
problem with this?
--8<---------------cut here---------------start------------->8---
--- tex.el 29 Dec 2006 13:39:53 -0000 5.592
+++ tex.el 3 Jan 2007 13:30:25 -0000
@@ -1240,6 +1240,8 @@
(make-variable-buffer-local 'TeX-command-default)
+(put 'TeX-command-default 'safe-local-variable 'stringp)
+
(defvar TeX-clean-default-intermediate-suffixes
'("\\.aux" "\\.bbl" "\\.blg" "\\.brf" "\\.fot"
"\\.glo" "\\.gls" "\\.idx" "\\.ilg" "\\.ind"
--8<---------------cut here---------------end--------------->8---
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel