[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
activate input method
From: |
harven |
Subject: |
activate input method |
Date: |
Mon, 28 May 2012 21:18:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
I am using this code to automatically activate the default input method
when a file is created.
(add-hook 'find-file-hook
(lambda () (activate-input-method default-input-method)))
But it does not handle buffers that are not related to a file, e.g.
buffers created using the switch-to-buffer command.
Is there a way to activate the input method for these newly created buffers ?
Thanks.
- activate input method,
harven <=