Mercurial > emacs
comparison leim/quail/ethiopic.el @ 18965:7b3efca4f455
Change Quail package name to "ethiopic".
(ethio-toggle-punctuation): Give "ethiopic" to quail-defrule.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 25 Jul 1997 07:28:50 +0000 |
parents | 751941736224 |
children | b3433731b84c |
comparison
equal
deleted
inserted
replaced
18964:10af35406220 | 18965:7b3efca4f455 |
---|---|
91 (puncs | 91 (puncs |
92 (if ethio-prefer-ascii-punctuation | 92 (if ethio-prefer-ascii-punctuation |
93 '(?. [".."] ["..."] ?, [",,"] ?\; [";;"] ?: ["::"] [":::"] ?* ["**"]) | 93 '(?. [".."] ["..."] ?, [",,"] ?\; [";;"] ?: ["::"] [":::"] ?* ["**"]) |
94 '(?$(3$i(B ?$(3%u(B ?. ?$(3$j(B ?, ?$(3$k(B ?\; ?$(3$h(B ?$(3$i(B ?: ?* ?$(3$o(B)))) | 94 '(?$(3$i(B ?$(3%u(B ?. ?$(3$j(B ?, ?$(3$k(B ?\; ?$(3$h(B ?$(3$i(B ?: ?* ?$(3$o(B)))) |
95 (while keys | 95 (while keys |
96 (quail-defrule (car keys) (car puncs) "quail-ethio") | 96 (quail-defrule (car keys) (car puncs) "ethiopic") |
97 (setq keys (cdr keys) | 97 (setq keys (cdr keys) |
98 puncs (cdr puncs))) | 98 puncs (cdr puncs))) |
99 (force-mode-line-update))) | 99 (force-mode-line-update))) |
100 | 100 |
101 ;; | 101 ;; |
121 (delete-backward-char 1)) | 121 (delete-backward-char 1)) |
122 (t | 122 (t |
123 (error "")))) | 123 (error "")))) |
124 | 124 |
125 ;; | 125 ;; |
126 ;; The package "quail-ethio" | 126 ;; The package "ethiopic" |
127 ;; | 127 ;; |
128 | 128 |
129 (quail-define-package | 129 (quail-define-package |
130 "ethiopic" "Ethiopic" | 130 "ethiopic" "Ethiopic" |
131 '("$(3$O#U!.(B " | 131 '("$(3$O#U!.(B " |
1097 ;; The translation of `a' depends on the language (Tigrigna or Amharic). | 1097 ;; The translation of `a' depends on the language (Tigrigna or Amharic). |
1098 (add-hook 'quail-mode-hook | 1098 (add-hook 'quail-mode-hook |
1099 (lambda nil | 1099 (lambda nil |
1100 (quail-defrule "a" | 1100 (quail-defrule "a" |
1101 (if (ethio-prefer-amharic-p) ?$(3"c(B ?$(3"f(B) | 1101 (if (ethio-prefer-amharic-p) ?$(3"c(B ?$(3"f(B) |
1102 "quail-ethio"))) | 1102 "ethiopic"))) |
1103 | 1103 |
1104 ;;; quail/ethiopic.el ends here | 1104 ;;; quail/ethiopic.el ends here |