mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-26 10:49:33 +00:00
Don't add hook to quail-mode-hook.
(ethio-select-a-translation): New function.
This commit is contained in:
parent
1ca074258e
commit
7678db2590
@ -1026,16 +1026,11 @@ C-' or `M-x ethio-gemination'
|
||||
("`1000000" ["$(3%$%%(B"])
|
||||
)
|
||||
|
||||
(add-hook 'quail-mode-hook
|
||||
(lambda nil
|
||||
(if (not (string= (quail-name) "ethiopic"))
|
||||
nil
|
||||
;; Also turn on the Ethio minor mode.
|
||||
(ethio-mode 1)
|
||||
;; The translation of `a' depends on the language
|
||||
;; (either Tigrigna or Amharic).
|
||||
(quail-defrule "a"
|
||||
(if (ethio-prefer-amharic-p) ?$(3"c(B ?$(3"f(B)
|
||||
"ethiopic"))))
|
||||
(defun ethio-select-a-translation ()
|
||||
;; The translation of `a' depends on the language
|
||||
;; (either Tigrigna or Amharic).
|
||||
(quail-defrule "a"
|
||||
(if (ethio-prefer-amharic-p) ?$(3"c(B ?$(3"f(B)
|
||||
"ethiopic"))
|
||||
|
||||
;;; quail/ethiopic.el ends here
|
||||
|
Loading…
Reference in New Issue
Block a user