Commit 5d0ae729 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(tibetan-pre-write-conversion): Make it work

for the case the arg FROM is a string.
parent 1d1180f7
......@@ -444,9 +444,13 @@ See also docstring of the function tibetan-compose-region."
(work-buf (get-buffer-create " *tibetan-work*")))
(set-buffer work-buf)
(insert-buffer-substring old-buf from to)
(if (stringp from)
(insert from)
(insert-buffer-substring old-buf from to))
(if (not tibetan-decomposed-temp)
(tibetan-decompose-region (point-min) (point-max)))))
(tibetan-decompose-region (point-min) (point-max)))
;; Should return nil as annotations.
(provide 'language/tibet-util)
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