* international/mule-cmds.el (inactivate-input-method): Mark obsolete.

This commit is contained in:
Paul Eggert 2012-07-29 09:29:23 -07:00
parent 417a7a0e4d
commit bb6eb9fcbd
2 changed files with 6 additions and 0 deletions

View file

@ -13,6 +13,8 @@
Rename from inactivate-current-input-method-function.
(input-method-deactivate-hook): New hook.
(input-method-inactivate-hook): Mark obsolete.
(inactivate-input-method): Mark obsolete.
* international/quail.el (quail-activate):
Also run quail-deactivate-hook.
(quail-deactivate): Rename from quail-inactivate.

View file

@ -1468,6 +1468,10 @@ If INPUT-METHOD is nil, deactivate any current input method."
(setq current-input-method nil)
(force-mode-line-update)))))
(define-obsolete-function-alias
'inactivate-input-method
'deactivate-input-method "24.2")
(defun set-input-method (input-method &optional interactive)
"Select and activate input method INPUT-METHOD for the current buffer.
This also sets the default input method to the one you specify.