changeset 17776:ece62fdeeebb

(tibetan-pre-write-conversion): Make it work for the case the arg FROM is a string.
author Kenichi Handa <handa@m17n.org>
date Mon, 12 May 1997 07:00:26 +0000
parents a4bf913d6caf
children 081f940a8d1f
files lisp/language/tibet-util.el
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/language/tibet-util.el	Mon May 12 07:00:25 1997 +0000
+++ b/lisp/language/tibet-util.el	Mon May 12 07:00:26 1997 +0000
@@ -444,9 +444,13 @@
 	(work-buf (get-buffer-create " *tibetan-work*")))
     (set-buffer work-buf)
     (erase-buffer)
-    (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.
+    nil))
 
 (provide 'language/tibet-util)