changeset 22779:9c3f4ae0d7ed

(kkc-region): Fix the return value.
author Kenichi Handa <handa@m17n.org>
date Sun, 19 Jul 1998 05:17:35 +0000
parents 42258900078d
children 54069d469c31
files lisp/international/kkc.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/kkc.el	Sun Jul 19 05:17:35 1998 +0000
+++ b/lisp/international/kkc.el	Sun Jul 19 05:17:35 1998 +0000
@@ -236,7 +236,7 @@
 
   (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)))