]> git.eshelyaron.com Git - emacs.git/commitdiff
(ethio-toggle-space): Update current-input-method-title if necessary.
authorKenichi Handa <handa@m17n.org>
Mon, 5 Mar 2001 11:49:21 +0000 (11:49 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 5 Mar 2001 11:49:21 +0000 (11:49 +0000)
(ethio-toggle-punctuation): Likewise.

lisp/language/ethio-util.el

index 86e07e0c9d8f36fd07f12f9359cdd293b8e1f279..ef5402cb18276bc09472c4cae9e024bd61766449 100644 (file)
@@ -1915,6 +1915,8 @@ Otherwise, [0-9A-F]."
   (interactive)
   (setq ethio-prefer-ascii-space
        (not ethio-prefer-ascii-space))
+  (if (equal current-input-method "ethipic")
+      (setq current-input-method-title (quail-title)))
   (force-mode-line-update))
 
 (defun ethio-insert-space (arg)
@@ -1970,6 +1972,8 @@ With ARG, insert that many delimiters."
       (quail-defrule (car keys) (car puncs) "ethiopic")
       (setq keys (cdr keys)
            puncs (cdr puncs)))
+    (if (equal current-input-method "ethipic")
+       (setq current-input-method-title (quail-title)))
     (force-mode-line-update)))
 
 ;;