diff leim/quail/japanese.el @ 90201:fbb2bea03df9

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-69 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 474-484) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 88-91) - Merge from emacs--cvs-trunk--0 - Update FSF's address in GPL notices - Update from CVS
author Miles Bader <miles@gnu.org>
date Thu, 14 Jul 2005 08:02:00 +0000
parents f9a65d7ebd29 a3d3e7ed5256
children 7beb78bc1f8e
line wrap: on
line diff
--- a/leim/quail/japanese.el	Thu Jul 07 12:43:14 2005 +0000
+++ b/leim/quail/japanese.el	Thu Jul 14 08:02:00 2005 +0000
@@ -79,9 +79,9 @@
   (when (= (char-before (overlay-end quail-conv-overlay)) ?n)
     ;; The last char is `n'.  We had better convert it to `ん'
     ;; before kana-kanji conversion.
-    (goto-char (overlay-end quail-conv-overlay))
-    (delete-char -1)
-    (insert ?ん))
+    (goto-char (1- (overlay-end quail-conv-overlay)))
+    (insert ?ん)
+    (delete-char 1))
   (let* ((from (copy-marker (overlay-start quail-conv-overlay)))
 	 (len (- (overlay-end quail-conv-overlay) from)))
     (quail-delete-overlays)