Mercurial > emacs
comparison lisp/language/ethio-util.el @ 36536:e83b0b55c92b
(ethio-toggle-space): Fix typo.
(ethio-toggle-punctuation): Fix typo.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 05 Mar 2001 12:11:53 +0000 |
parents | 90893f16ebbd |
children | b82a6fbaae16 |
comparison
equal
deleted
inserted
replaced
36535:6873951b694a | 36536:e83b0b55c92b |
---|---|
1913 (defun ethio-toggle-space nil | 1913 (defun ethio-toggle-space nil |
1914 "Toggle ASCII space and Ethiopic separator for keyboard input." | 1914 "Toggle ASCII space and Ethiopic separator for keyboard input." |
1915 (interactive) | 1915 (interactive) |
1916 (setq ethio-prefer-ascii-space | 1916 (setq ethio-prefer-ascii-space |
1917 (not ethio-prefer-ascii-space)) | 1917 (not ethio-prefer-ascii-space)) |
1918 (if (equal current-input-method "ethipic") | 1918 (if (equal current-input-method "ethiopic") |
1919 (setq current-input-method-title (quail-title))) | 1919 (setq current-input-method-title (quail-title))) |
1920 (force-mode-line-update)) | 1920 (force-mode-line-update)) |
1921 | 1921 |
1922 (defun ethio-insert-space (arg) | 1922 (defun ethio-insert-space (arg) |
1923 "Insert ASCII spaces or Ethiopic word separators depending on context. | 1923 "Insert ASCII spaces or Ethiopic word separators depending on context. |
1970 '(?$(3$i(B ?$(3%u(B ?. ?$(3$j(B ?, ?$(3$k(B ?\; ?$(3$h(B ?$(3$i(B ?: ?* ?$(3$o(B)))) | 1970 '(?$(3$i(B ?$(3%u(B ?. ?$(3$j(B ?, ?$(3$k(B ?\; ?$(3$h(B ?$(3$i(B ?: ?* ?$(3$o(B)))) |
1971 (while keys | 1971 (while keys |
1972 (quail-defrule (car keys) (car puncs) "ethiopic") | 1972 (quail-defrule (car keys) (car puncs) "ethiopic") |
1973 (setq keys (cdr keys) | 1973 (setq keys (cdr keys) |
1974 puncs (cdr puncs))) | 1974 puncs (cdr puncs))) |
1975 (if (equal current-input-method "ethipic") | 1975 (if (equal current-input-method "ethiopic") |
1976 (setq current-input-method-title (quail-title))) | 1976 (setq current-input-method-title (quail-title))) |
1977 (force-mode-line-update))) | 1977 (force-mode-line-update))) |
1978 | 1978 |
1979 ;; | 1979 ;; |
1980 ;; Gemination | 1980 ;; Gemination |