summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-03-18 23:14:07 +0000
committerKenichi Handa <handa@m17n.org>1997-03-18 23:14:07 +0000
commit76fe953a16764b673026f48387ba57c881d84d6e (patch)
tree0ad14befefcda50784036d02f356ddf707078139 /lisp
parentcf33d172193e945aae1c8ffab99a141f27158ffc (diff)
downloademacs-76fe953a16764b673026f48387ba57c881d84d6e.tar.gz
(thai-post-read-conversion): Return the correct length.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/language/thai-util.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/language/thai-util.el b/lisp/language/thai-util.el
index 5dfb79a394d..f339bfed0e5 100644
--- a/lisp/language/thai-util.el
+++ b/lisp/language/thai-util.el
@@ -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
-