|
From: | Stefan Monnier |
Subject: | Re: Activate an input-method from file-local variables? |
Date: | Tue, 18 Jul 2006 10:44:43 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> That seems much more complex than my current solution of using >> `eval: (activate-input-method "TeX")' and adding >> (put 'activate-input-method 'safe-local-eval-function t). > Provided that a local variable specified in a file is > customizable, does :set function of it called? Currently no: it just uses `set'. Using the custom setter might be an option, but we should be careful with it: Custom's support for buffer-local settings is mostly untested (And hence not overly reliable). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |