[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-devel] Re: safe-local-variable stuff

From: Reiner Steib
Subject: [AUCTeX-devel] Re: safe-local-variable stuff
Date: Wed, 03 Jan 2007 14:32:15 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

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  |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]