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/emulation/viper-init.el | |
parent | fb1a489757eb9237afbd2e39e453e4a5e06c9d86 (diff) | |
download | emacs-e962ca57e0bfe3bc2e319bb03dc0c6a9b1a7c5ee.tar.gz emacs-e962ca57e0bfe3bc2e319bb03dc0c6a9b1a7c5ee.tar.bz2 emacs-e962ca57e0bfe3bc2e319bb03dc0c6a9b1a7c5ee.zip |
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/emulation/viper-init.el')
-rw-r--r-- | lisp/emulation/viper-init.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el index 0d478011238..a67dd4d762f 100644 --- a/lisp/emulation/viper-init.el +++ b/lisp/emulation/viper-init.el @@ -344,9 +344,7 @@ Use `\\[viper-set-expert-level]' to change this.") (quail-delete-overlays)) (setq describe-current-input-method-function nil) (setq current-input-method nil) - (run-hooks - 'input-method-inactivate-hook ; for backward compatibility - 'input-method-deactivate-hook) + (run-hooks 'input-method-deactivate-hook) (force-mode-line-update)) )) (defun viper-activate-input-method () |