comparison lisp/international/mule-util.el @ 24338:3e873a016458

(decompose-region): Use insert-buffer-substring instead of insert-buffer to avoid putting mark.
author Kenichi Handa <handa@m17n.org>
date Wed, 17 Feb 1999 12:39:48 +0000
parents b6fcff552040
children 68d26067bb74
comparison
equal deleted inserted replaced
24337:d9aef2d7c503 24338:3e873a016458
342 (let ((tempbuf (current-buffer))) 342 (let ((tempbuf (current-buffer)))
343 (save-excursion 343 (save-excursion
344 (set-buffer buf) 344 (set-buffer buf)
345 (goto-char start) 345 (goto-char start)
346 (delete-region start end) 346 (delete-region start end)
347 (insert-buffer tempbuf)))))) 347 (insert-buffer-substring tempbuf))))))
348 348
349 ;;;###autoload 349 ;;;###autoload
350 (defun decompose-string (string) 350 (defun decompose-string (string)
351 "Decompose all composite characters in STRING." 351 "Decompose all composite characters in STRING."
352 (let ((len (length string)) 352 (let ((len (length string))