]> git.eshelyaron.com Git - emacs.git/commitdiff
(thai-post-read-conversion): Return the correct length.
authorKenichi Handa <handa@m17n.org>
Tue, 18 Mar 1997 23:14:07 +0000 (23:14 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 18 Mar 1997 23:14:07 +0000 (23:14 +0000)
lisp/language/thai-util.el

index 5dfb79a394d6b12cb616ca9c4f42709e618e0dc0..f339bfed0e554cb6b9b53b230bfd038d1f09f25f 100644 (file)
@@ -156,7 +156,7 @@ positions (integers or markers) specifying the region."
        (narrow-to-region (point) (+ (point) len))
        (thai-compose-region (point-min) (point-max))
        (set-buffer-modified-p buffer-modified-p)
-       (point-max)))))
+       (- (point-max) (point-min))))))
 
 ;;;###autoload
 (defun thai-pre-write-conversion (from to)
@@ -174,4 +174,3 @@ positions (integers or markers) specifying the region."
 ;;; generated-autoload-file: "../loaddefs.el"
 ;;; End:
 ;;; thai-util.el ends here
-