[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] * lisp/international/mule-cmds.el (deactivate-input-method):
From: |
Eli Zaretskii |
Subject: |
Re: [patch] * lisp/international/mule-cmds.el (deactivate-input-method): Tiny improve. |
Date: |
Wed, 28 Apr 2021 14:54:00 +0300 |
> Date: Wed, 28 Apr 2021 15:24:40 +0800 (CST)
> From: tumashu <tumashu@163.com>
>
> --- a/lisp/international/mule-cmds.el
> +++ b/lisp/international/mule-cmds.el
> @@ -1500,7 +1500,8 @@ deactivate-input-method
> (progn
> (setq input-method-function nil
> current-input-method-title nil)
> - (funcall deactivate-current-input-method-function))
> + (when (functionp deactivate-current-input-method-function)
> + (funcall deactivate-current-input-method-function)))
Thanks, but could you please explain why this is needed? IOW, in
which use case did you see this function called when
deactivate-current-input-method-function wasn't a function?