From: teranisi Date: Tue, 9 May 2000 16:19:58 +0000 (+0000) Subject: (elmo-buffer-cache-add): Set message cache buffer as unibyte. X-Git-Tag: wl-1_1_1~6 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=6e8b40d9ba359dd7d6bf3060d8e5b121d56b41f2;p=elisp%2Fwanderlust.git (elmo-buffer-cache-add): Set message cache buffer as unibyte. --- diff --git a/elmo/elmo-cache.el b/elmo/elmo-cache.el index f0ea53c..e6dad86 100644 --- a/elmo/elmo-cache.el +++ b/elmo/elmo-cache.el @@ -399,6 +399,9 @@ Returning its cache buffer." (setq buf (get-buffer-create (format "%s%d" elmo-buffer-cache-name len))) (setq buf (elmo-buffer-cache-buffer-get (nth (1- len) elmo-buffer-cache))) (setcdr (nthcdr (- len 2) elmo-buffer-cache) nil)) + (save-excursion + (set-buffer buf) + (elmo-set-buffer-multibyte nil)) (setq elmo-buffer-cache (cons (elmo-buffer-cache-entry-make fld-msg-id buf) elmo-buffer-cache))