Mercurial > emacs
changeset 23548:87736ae8e5ff
(in-is13194-devanagari-pre-write-conversion): Cancel previous
change, use generate-new-buffer instead of get-buffer-create.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 26 Oct 1998 08:00:11 +0000 |
parents | 77c967512714 |
children | aab4ef022ffd |
files | lisp/language/devan-util.el |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/language/devan-util.el Mon Oct 26 08:00:11 1998 +0000 +++ b/lisp/language/devan-util.el Mon Oct 26 08:00:11 1998 +0000 @@ -1278,11 +1278,11 @@ ;;;###autoload (defun in-is13194-devanagari-pre-write-conversion (from to) (let ((old-buf (current-buffer))) - (with-temp-buffer - (if (stringp from) - (insert from) - (insert-buffer-substring old-buf from to)) - (devanagari-decompose-to-is13194-region (point-min) (point-max))) + (set-buffer (generate-new-buffer " *temp*")) + (if (stringp from) + (insert from) + (insert-buffer-substring old-buf from to)) + (devanagari-decompose-to-is13194-region (point-min) (point-max)) ;; Should return nil as annotations. nil))