From: Kenichi Handa Date: Mon, 12 May 1997 07:00:26 +0000 (+0000) Subject: (tibetan-pre-write-conversion): Make it work X-Git-Tag: emacs-20.1~2169 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5d0ae7290b3a2cf264d5044152cc7e9ded428670;p=emacs.git (tibetan-pre-write-conversion): Make it work for the case the arg FROM is a string. --- diff --git a/lisp/language/tibet-util.el b/lisp/language/tibet-util.el index 5a9a1924de5..37a0f49493c 100644 --- a/lisp/language/tibet-util.el +++ b/lisp/language/tibet-util.el @@ -444,9 +444,13 @@ See also docstring of the function tibetan-compose-region." (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)