]> git.eshelyaron.com Git - emacs.git/commitdiff
(kkc-region): Fix the return value.
authorKenichi Handa <handa@m17n.org>
Sun, 19 Jul 1998 05:17:35 +0000 (05:17 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 19 Jul 1998 05:17:35 +0000 (05:17 +0000)
lisp/international/kkc.el

index 05889322fd9eb4512ed5589e6f33148fd68914ab..810550cc7faaea17ed23f2999b9eafd098e9e9f4 100644 (file)
@@ -236,7 +236,7 @@ and the return value is the length of the conversion."
 
   (force-mode-line-update)
   (goto-char (overlay-end kkc-overlay-tail))
-  (prog1 (- (overlay-start kkc-overlay-head) from)
+  (prog1 (- (point) from)
     (delete-overlay kkc-overlay-head)
     (delete-overlay kkc-overlay-tail)))