# HG changeset patch # User Kenichi Handa # Date 929344581 0 # Node ID ab5f0d0f5e9a0c6f261793c67b180af014fbb4ef # Parent a555cf7d6f733c53a0e880a635064a41790f9980 (setup-ethiopic-environment-internal): Use quail-activate-hook instead of obsolete hook quail-mode-hook. (exit-ethiopic-environment): Likewize. diff -r a555cf7d6f73 -r ab5f0d0f5e9a lisp/language/ethio-util.el --- a/lisp/language/ethio-util.el Mon Jun 14 07:11:40 1999 +0000 +++ b/lisp/language/ethio-util.el Mon Jun 14 07:16:21 1999 +0000 @@ -60,7 +60,7 @@ (global-set-key kb (cdr (car key-bindings))) (setq key-bindings (cdr key-bindings)))) - (add-hook 'quail-mode-hook 'ethio-select-a-translation) + (add-hook 'quail-activate-hook 'ethio-select-a-translation) (add-hook 'find-file-hooks 'ethio-find-file) (add-hook 'write-file-hooks 'ethio-write-file) (add-hook 'after-save-hook 'ethio-find-file)) @@ -73,7 +73,7 @@ (setq exit-ethiopic-environment-data (cdr exit-ethiopic-environment-data))) - (remove-hook 'quail-mode-hook 'ethio-select-a-translation) + (remove-hook 'quail-activate-hook 'ethio-select-a-translation) (remove-hook 'find-file-hooks 'ethio-find-file) (remove-hook 'write-file-hooks 'ethio-write-file) (remove-hook 'after-save-hook 'ethio-find-file))