# HG changeset patch # User Kenichi Handa # Date 863420426 0 # Node ID ece62fdeeebbc7b5aceee7554ee5bfa7857f4023 # Parent a4bf913d6caf9268c8ae356d1290b753561e2d56 (tibetan-pre-write-conversion): Make it work for the case the arg FROM is a string. diff -r a4bf913d6caf -r ece62fdeeebb lisp/language/tibet-util.el --- 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)