emacs-devel
[Top][All Lists]
Advanced

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

Re: Unsafe file variables...


From: Kim F. Storm
Subject: Re: Unsafe file variables...
Date: 05 Apr 2004 02:44:53 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

David Kastrup <address@hidden> writes:

> Ok, I have had an idea which might be stupid or not.  And it might
> also have political implications which I am too stupid to see.  I just
> want to put it out.
> 
> Emacs warns about potentially unsafe file variables and stuff, like
> 
> ;;; Local variables:
> ;;; eval: (put 'preview-defmacro 'lisp-indent-function 'defun)
> ;;; end:
> 
> Now it is a nuisance to get this question each time, and it is not
> feasible to disable the question permanently due to security reasons.

There is already a simple solution to this in CVS emacs:

Just add it to safe-local-eval-forms (e.g. via customize).

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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