Commit f8bfdebc authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(kkc-region): Fix the return value.

parent 6c0bf615
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment