[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to restore let binding variables after minibuffer keybord-quit
From: |
David Hansen |
Subject: |
Re: how to restore let binding variables after minibuffer keybord-quit |
Date: |
Tue, 06 Jun 2006 12:40:29 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
On Tue, 06 Jun 2006 18:06:17 +0800 Ye Wenbin wrote:
> Hello,
> I wrote a elisp to input chinese character. I want add a command to input
> english letter when the input method activated. The function
> defined as following:
>
> (defun eim-insert-ascii ()
> (interactive)
> (let (after-change-functions)
> (insert (read-from-minibuffer ""))))
>
> But when use C-g to quit from minibuffer, the
> after-change-functions doesn't restore
> to the original value. Is there a way to restore let binding
> variables after keybord-quit?
Use `condition-case' but i would rather temporally disable
the input method than let binding `after-change-function'.
David