Commit 06772363 authored by Stefan Monnier's avatar Stefan Monnier

(setup-ethiopic-environment-internal, exit-ethiopic-environment):

Use find-file-hook and write-file-functions instead of
find-file-hooks and write-file-hooks.
parent 1a80bcd1
......@@ -78,8 +78,8 @@
(setq key-bindings (cdr key-bindings))))
(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 'find-file-hook 'ethio-find-file)
(add-hook 'write-file-functions 'ethio-write-file)
(add-hook 'after-save-hook 'ethio-find-file))
(defun exit-ethiopic-environment ()
......@@ -91,8 +91,8 @@
(cdr exit-ethiopic-environment-data)))
(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 'find-file-hook 'ethio-find-file)
(remove-hook 'write-file-functions 'ethio-write-file)
(remove-hook 'after-save-hook 'ethio-find-file))
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment