aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1998-10-26 08:00:11 +0000
committerKenichi Handa1998-10-26 08:00:11 +0000
commit319fb5a9bf9e8ae76e7ad9eb0953a6581fc44f9e (patch)
treedc855621963fc53185d556b8a930403ee3c46678
parent61a398eac88ecd571233d50115a910390fb5018d (diff)
downloademacs-319fb5a9bf9e8ae76e7ad9eb0953a6581fc44f9e.tar.gz
emacs-319fb5a9bf9e8ae76e7ad9eb0953a6581fc44f9e.zip
(viqr-pre-write-conversion): Cancel previous
change, use generate-new-buffer instead of get-buffer-create.
-rw-r--r--lisp/language/viet-util.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/language/viet-util.el b/lisp/language/viet-util.el
index f90dc494df7..4a4022d2b62 100644
--- a/lisp/language/viet-util.el
+++ b/lisp/language/viet-util.el
@@ -284,11 +284,11 @@ positions (integers or markers) specifying the stretch of the region."
284;;;###autoload 284;;;###autoload
285(defun viqr-pre-write-conversion (from to) 285(defun viqr-pre-write-conversion (from to)
286 (let ((old-buf (current-buffer))) 286 (let ((old-buf (current-buffer)))
287 (with-temp-buffer 287 (set-buffer (generate-new-buffer " *temp*"))
288 (if (stringp from) 288 (if (stringp from)
289 (insert from) 289 (insert from)
290 (insert-buffer-substring old-buf from to)) 290 (insert-buffer-substring old-buf from to))
291 (viet-encode-viqr-region (point-min) (point-max))) 291 (viet-encode-viqr-region (point-min) (point-max))
292 ;; Should return nil as annotations. 292 ;; Should return nil as annotations.
293 nil)) 293 nil))
294 294