mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(setup-ethiopic-environment-internal):
Use quail-activate-hook instead of obsolete hook quail-mode-hook. (exit-ethiopic-environment): Likewize.
This commit is contained in:
parent
58caa3809c
commit
2d1cc7d91e
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user