This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: add .dir-locals.el


> From: Tom Tromey <tromey@redhat.com>
> Cc: Yao Qi <yao@codesourcery.com>, gdb-patches@sourceware.org
> Date: Thu, 12 Apr 2012 14:13:43 -0600
> 
> You can set a property on a symbol to make it safe in some situations.
> This would normally be done via a patch to Emacs, but one can also do it
> temporarily in .emacs or whatever.
> 
> In this case though, what symbol would you use?
> AFAIK you have to call font-lock-add-keywords to change font-locking.
> There is no local variable you can set.

As you discovered, there's safe-local-eval-forms, although it was only
introduced in Emacs 24.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]