diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-08-18 12:33:08 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-08-18 12:33:08 +0300 |
commit | e962ca57e0bfe3bc2e319bb03dc0c6a9b1a7c5ee (patch) | |
tree | c50241e6ed684ae9cc2e3b1ab192343cd4f55a5f /lisp/international/mule-cmds.el | |
parent | fb1a489757eb9237afbd2e39e453e4a5e06c9d86 (diff) | |
download | emacs-e962ca57e0bfe3bc2e319bb03dc0c6a9b1a7c5ee.tar.gz |
Don't call the same hook twice due to obsolete aliases
* lisp/international/robin.el (robin-activate):
* lisp/international/quail.el (quail-activate):
* lisp/international/mule-cmds.el (deactivate-input-method):
* lisp/emulation/viper-init.el (viper-deactivate-input-method):
Don't call the same hook twice, when the obsolete and the
advertised symbols are aliased. (Bug#28118)
Diffstat (limited to 'lisp/international/mule-cmds.el')
-rw-r--r-- | lisp/international/mule-cmds.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index bcbc92844d6..ee31dea69ec 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -1482,9 +1482,7 @@ If INPUT-METHOD is nil, deactivate any current input method." current-input-method-title nil) (funcall deactivate-current-input-method-function)) (unwind-protect - (run-hooks - 'input-method-inactivate-hook ; for backward compatibility - 'input-method-deactivate-hook) + (run-hooks 'input-method-deactivate-hook) (setq current-input-method nil) (force-mode-line-update))))) |