From: Kenichi Handa Date: Sun, 19 Jul 1998 05:17:35 +0000 (+0000) Subject: (kkc-region): Fix the return value. X-Git-Tag: emacs-20.3~300 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f8bfdebc67de718d8813f519657efc93a95e56c5;p=emacs.git (kkc-region): Fix the return value. --- diff --git a/lisp/international/kkc.el b/lisp/international/kkc.el index 05889322fd9..810550cc7fa 100644 --- a/lisp/international/kkc.el +++ b/lisp/international/kkc.el @@ -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)))