[Top][All Lists]

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

Re: input methods per file

From: Johan Bockgård
Subject: Re: input methods per file
Date: Thu, 24 Jan 2008 16:08:20 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Phillip Lord <> writes:

> ;; Local Variables: ***
> ;; eval: (set-input-method "italian-postfix") ***
> ;; End: ***
> Which works well, but is a pain because I get asked a yes no question
> as eval is risky.

You can use

    ;; Allow italian-postfix input method
    (add-to-list 'safe-local-eval-forms
                 '(set-input-method "italian-postfix"))


    ;; Allow all uses of set-input-method
    (put 'set-input-method 'safe-local-eval-function t)

Johan Bockgård

reply via email to

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