]> git.eshelyaron.com Git - emacs.git/commitdiff
(setup-ethiopic-environment-internal):
authorKenichi Handa <handa@m17n.org>
Mon, 14 Jun 1999 07:16:21 +0000 (07:16 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 14 Jun 1999 07:16:21 +0000 (07:16 +0000)
Use quail-activate-hook instead of obsolete hook quail-mode-hook.
(exit-ethiopic-environment): Likewize.

lisp/language/ethio-util.el

index 37dc4c40a6c67d251997240a9a4e3f227b285f3f..2ddea090c7ca1c87bb77bb0727e557238b395152 100644 (file)
@@ -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))